Applies to: ABC templates, as posted in the Clarion 6 group; the thread names no build.
Problem
An extension template was meant to offer only those %File entries of the app that use a derived base class rather than the default ABC one. The poster tried a FROM(%File,~%UseDefaultABCBaseClass) prompt and could not limit the list that way.
Solution
- The filter does not work on
%File. The per-file class settings hang off%ClassItem; the items for files are namedFileManager:<file>. Look in ABOOP.TPW and in an exported TXA to see the symbols that depend on%ClassItem. - A poster supplied a small utility template that walks
%ClassItemand writes the derived ones to a text file:#FOR(%ClassItem) #IF(Sub(%ClassItem,1,12) = 'FileManager:') #IF(%UseDefaultABCBaseClass=0) %ClassItem uses %ABCBaseClass #ENDIF #ENDIF #ENDFOR
(the full utility also has the output file prompt, #REMOVE, #CREATE and #CLOSE).
3. For the list of files the app really uses, %UsedFile holds them (the other names tried were %UseFile, %UseFiles); a loop over %File with INLIST(%File, %UsedFile) gave the used ones, but did not tell base from derived class.
Caveats
- The poster said he posted two solutions in the template group; they are not part of this thread.
- The utility writes a report; the thread does not turn it into a prompt list.
Today (2026)
Likely unchanged for the ABC chain; not re-tested. Confirm the symbol names in your build's template files.
Sources: Douglas J. (May 2008, the question), Geoff T., Shankar, Rick M. (May 2008) in softvelocity.public.clarion6.