Technical data
2 
Working with the Target Language
2-32
GENERATE_TYPE_FUNCTION_EXISTS
(expr1, expr2, expr3)
Same as 
GENERATE_FUNCTION_EXISTS except 
it overrides the 
Type built into the 
object. See the description of 
GENERATE_TYPE for more information.
IDNUM(expr)
expr
 must be a string. The result is a 
vector where the first element is a 
leading string (if any) and the second 
element is a number appearing at the 
end of the input string. For example:
IDNUM("ABC123") yields ["ABC", 
123]
NULL_FILE
A predefined file for no output that 
you can use as an argument to 
%selectfile to prevent output.
NUMTLCFILES
The number of target files used thus 
far in expansion.
OUTPUT_LINES(expr)
Accepts a file variable as input and 
returns the number of lines that have 
been written to the given file or 
buffer.
Table 2-4: TLC Built-in Functions and Values (Continued)
Special Macro Name Expansion










