ContinueMacroIf command: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{| | {| | ||
|width=" | |width="125px"| '''Action:''' | ||
|width=" | |width="775px"| | ||
<span class="f_Para">Determines whether the processing of the Debugger [[Using Debugger Macros|macro]] that contains this command may continue. If the state ("True" or "False") of a specified command argument ([[Working with macro variables|macro variable]], [[Working with Client functions (Debugger)|client function]], or constant) is </span><span class="f_Monospace">True,</span><span class="f_Para"> the macro continues. </span> | <span class="f_Para">Determines whether the processing of the Debugger [[Using Debugger Macros|macro]] that contains this command may continue. If the state ("True" or "False") of a specified command argument ([[Working with macro variables|macro variable]], [[Working with Client functions (Debugger)|client function]], or constant) is </span><span class="f_Monospace">True,</span><span class="f_Para"> the macro continues. </span> | ||
Latest revision as of 18:14, 26 January 2023
Action: |
Determines whether the processing of the Debugger macro that contains this command may continue. If the state ("True" or "False") of a specified command argument (macro variable, client function, or constant) is True, the macro continues. If the state of the command argument is False, the macro terminates (without error). This behavior contrasts with that of the continueIf command, which exits not only the macro containing the continueIf command but also any macro(s) within which that macro is contained. Syntax: continueMacroIf test Where test is: &var | &&function | const [ = | <> &var | &&function | const ] Where:
Notes: If continueMacroIf is used with a single argument and that argument 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. In an equality comparison any undefined item makes an equality comparison False. Example: # See if it is watched, done if not |
Scope: | Allowed only in Debugger macros |
Client menu: | -- |
Introduced: | Build 57 |