IncludeIf command

From m204wiki
Revision as of 17:10, 26 May 2022 by Ekern (talk | contribs) (Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Conditionally calls another Debugger macro. The specified macro is in...")
(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