Technical data
2 
Working with the Target Language
2-10
Target Language Values
Table 2-2 shows the types of values you can use within the context of 
expressions in your target language files:
Table 2-2: Target Language Values
Value Type 
String
Example Description
"Boolean" 1==1
Result of a comparison or 
other Boolean operator. 
Note: There are no Boolean 
constants, and Boolean 
values are 1 or 0 as in C. 1 is 
still a number and not a 
Boolean value.
"File" %openfile x
String buffer opened with 
%openfile.
"File" %openfile x = "out.c"
File opened with %openfile.
"Function" %function foo…
A user-defined function.
"Identifier" abc
Identifier values can only 
appear within the 
.rtw file 
and cannot appear in 
expressions (within the 
context of an expression, 
identifiers are interpreted 
as values). To compare 
against an identifier value, 
use a string; the identifier 
will be converted as 
appropriate to a string.
"Macro" %define MACRO …
A user-defined macro.










