Equivalents

Any context that accepts an immediate value of a particular standard data type also accepts any entity of the same data type.

For example, if an input field accepts a string value, such as 'Standard Dialog', it also accepts:
  • An expression that evaluates to a string.
  • A value that converts to a string.
  • A string variable.
  • A call to an imported method that returns a string.
Similarly, if an input field accepts a boolean value (true or false), it also accepts:
  • An expression that evaluates to a boolean value.
  • A value that converts to a boolean value.
  • A boolean variable.
  • A call to an imported method that returns a boolean.

Recognizing this flexibility in the macro facility will help you write more powerful macros.