IncludeIf command

From m204wiki
Revision as of 21:24, 30 January 2023 by Ekern (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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