Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

28 Working with macros > 28.6 Using expressions in macros


28.6 Using expressions in macros

In Mif2Go macros, an expression usually consists of two operands separated by an operator:

<$(operand operator operand)>

As an exception, one type of conditional expression consists of three operands and two operators:

<$(operand ? operand : operand)>

The result of a Mif2Go macro expression is a strong value.

In this section:

§28.6.1 Understanding macro expressions

§28.6.2 Understanding operands and operators

§28.6.3 Displaying expression results in output

§28.6.4 Using control structures in expressions

§28.6.5 Specifying substrings in expressions

§28.6.6 Using list variables in expressions

§28.6.7 Using indirection in expressions

§28.6.8 Removing spaces from strings: an example



28 Working with macros > 28.6 Using expressions in macros