Technical data

2
Working with the Target Language
2-6
Compiler Directives
Syntax
A target language file consists of a series of statements of the form
%keyword [argument1, argument2, …]
where keyword represents one of the Target Language Compiler’s directives,
and
[argument1, argument2,] represents expressions that define any
required parameters. For example,
%assign sysNumber = sysIdx + 1
uses the %assign directive to change the value of the sysNumber parameter.
A target language directive must be the first nonblank character on a line and
always begins with the
% character. Beginning a line with %% lets you include a
comment on a line.
Table 2-1 shows the complete set of TLC directives. The remainder of this
chapter describes each directive in detail.
Table 2-1: Target Language Compiler Directives
Type Construct
Comments
/% %/
%%
Target language
expressions
%<expression>
Formatting
%realformat string