28.6.2 Understanding operands and operators
Operands for macro expressions
An operand can be any of the following:
• a macro variable: $$name (see §28.3 Using macro variables)
• a number, including hexadecimal numbers starting with 0x or 0X
• a double-quoted string: "..."
• a single-quoted string: '...'
• a single-quoted character, including '\r' and '\n'
Operators for macro expressions
Operators include essentially the whole C-language numeric and logical sets, as well as some Mif2Go string operators; Table 28-4 shows the operators you can use in macro expressions. Most operators participate in binary (two-operand) expressions. Exceptions are the operators used in the ternary conditional expression described in §28.6.4.2 Using conditional expressions, and the unary string operators described in §28.6.5 Specifying substrings in expressions.
Table 28-4 Operators for HTML macro expressions
> 28 Working with macros > 28.6 Using expressions in macros > 28.6.2 Understanding operands and operators