IncludeIf command

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Action:

Conditionally calls another Debugger macro. The specified macro is included if and only if the state ("True" or "False") of a specified macro variable is True. If the state of the macro variable is False, no action is taken and the macro continues.

If the variable is 0 or a zero length (null) string, or if it is undefined, its state is considered to be False. For all other values, its state is considered to be True.

Syntax:

includeIf &var macro

where:

  • &var is a macro variable that may or may not already exist.
  • macro is the unquoted name of a macro.
Scope: Allowed only in Debugger macros
Client menu: --
Introduced: Build 57