Basic and advanced macro format

Your macro can be stored in either the basic macro format or the advanced macro format. When you record a macro using the host terminal, it is stored in the basic macro format. If you edit the macro and add support for variables and arithmetic expressions, your macro will be switched to the advanced macro format.

The basic macro format enables you to enter literal values, including integers, doubles, boolean (true or false), and strings.

In addition to the basic macro format functions, the advanced macro format offers these added functions:
  • Allows string concatenation using the plus symbol (+) string operator.
  • Allows arithmetic expressions.
  • Allows conditional expressions.
  • Allows variables.
  • Allows imported Java™ variable types and methods.