Macros

Macros are available through the define command. The define command is similar to the C preprocessor directive #define. It gives you the ability to create a macro inside MULTI. You can then later invoke that macro from the Debugger command pane or a script. See "Example 2: Regression testing" for an example.

Macros can combine a small set of commands into one macro function, just as #define macros are used in C programs. A macro can return a value and be used in an expression evaluated in the Debugger Command Pane, just as a #define macro. Although you can probably automate most tasks by using commands and scripting, you might want to create macros in some circumstances.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.