Technical data

Compiler Directives
2-31
FORMAT(expr1, expr2)
The first expression is a Real value to
format. The second expression is
either "
EXPONENTIAL" or "CONCISE".
Outputs the
Real value in the
designated format where
EXPONENTIAL uses exponential
notation with 16 digits of precision,
and
CONCISE outputs the number in a
more readable format while
maintaining numerical accuracy.
GENERATE(expr1, expr2, ...)
See the description in the
“Object-Oriented Facility for
Generating Target Code” section, on
page 2-24.
GENERATE_FILENAME(expr)
Treats the expression as a Type, and
returns the name of the
.tlc file that
will be opened for that
Type.
GENERATE_FUNCTION_EXISTS
(expr, expr)
Determines if a given block function
exists. The first expression is the
same as the first argument to
GENERATE, namely a block scoped
variable containing a
Type. The
second expression is a string that
should match the function name.
GENERATE_TYPE
(expr1, expr2, expr3)
See the description in the
“Object-Oriented Facility for
Generating Target Code” section, on
page 2-24.
Table 2-4: TLC Built-in Functions and Values (Continued)
Special Macro Name Expansion