Tokenization of NetRexx programs into clauses is the same as Rexx (blanks adjacent to special characters disappear, strings can be delimited with single or double quotes, "/*" comments nest, etc.) with the following differences:
Say 'Hello World!' -- displays a message
Similarly, the sequences '++' and '\\' are reserved for future use (they are in error, rather than some combination of operators).
12E+2 12e-3 12.7E+0 1E-1 /* 1e6 is not a valid number */
A symbol that starts with a digit must have the syntax of a number. At present, numbers cannot start with a period.
\t \n \r \f \" \' \\ \- \0 \xhh \uhhhh
meaning tab, newline (linefeed), carriage return, form feed, double quote, single quote, backslash, delete, zero-character, hexadecimal, unicode. In the last two, two or four hexadecimal digits, respectively, are required. The 'zero character' can therefore also be written as \x00 or \u0000. The escape letters (t, n, etc.) and the hexadecimal digits may be in lower or upper case. Rexx-style quote-doubling is also accepted.
[ previous section | contents | next section ]
From 'netrexx.doc', version 0.75.
Copyright(c) IBM Corporation, 1996. All rights reserved. ©