ContinueMacroIf command: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| | {| | ||
|width=" | |width="125px"| '''Action:''' | ||
|width=" | |width="775px"| | ||
<span class="f_Para">Determines whether the processing of the Debugger [[ | <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">If the state of the command argument is </span><span class="f_Monospace">False,</span><span class="f_Para"> the macro terminates (without error). This behavior contrasts with that of the </span><span class="f_Monospace">[[continueIf command|continueIf]]</span><span class="f_Para"> command, which exits not only the macro containing the </span><span class="f_Monospace">continueIf</span><span class="f_Para"> command but also any macro(s) within which that macro is contained. </span> | <span class="f_Para">If the state of the command argument is </span><span class="f_Monospace">False,</span><span class="f_Para"> the macro terminates (without error). This behavior contrasts with that of the </span><span class="f_Monospace">[[continueIf command|continueIf]]</span><span class="f_Para"> command, which exits not only the macro containing the </span><span class="f_Monospace">continueIf</span><span class="f_Para"> command but also any macro(s) within which that macro is contained. </span> | ||
Line 13: | Line 13: | ||
Where ''test'' is: | Where ''test'' is: | ||
<p class="syntax"><span class="f_CodeExample">&var</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">&&function</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">const</span><span class="f_Para"> </span><span class="f_CodeExample">[</span><span class="f_Para"> </span><span class="f_CodeExample">=</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample"><> &var</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">&&function</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">const</span><span class="f_Para"> </span><span class="f_CodeExample">] </span></p> | |||
<span class="f_CodeExample">&var</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">&&function</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">const</span><span class="f_Para"> </span><span class="f_CodeExample">[</span><span class="f_Para"> </span><span class="f_CodeExample">=</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample"><> &var</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">&&function</span><span class="f_Para"> </span><span class="f_CodeExample">|</span><span class="f_Para"> </span><span class="f_CodeExample">const</span><span class="f_Para"> </span><span class="f_CodeExample">] </span> | |||
<span class="f_Para">Where: </span> | <span class="f_Para">Where: </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 |