Chapter 15: Predefined Macros
until
until
Function
Run until expression is true
Synopsis
char until (boolean)
int boolean;
Description
The until macro returns a zero when boolean is nonzero. The Until macro is
used with the Program Run and Program Step With_Macro commands. It
halts execution when the expression passed is true, and continues when the
expression passed is false. Any C expression resulting in a value may be used.
Example
Program Run Until #3 ,#17 ,printf ;until (i==3 || x < y)
The command above sets temporary breakpoints at line numbers 3 and 17 in
the current module and at entry to the function printf. When any one of these
locations is encountered by the executing program, the debugger will stop and
check the until conditional statements. If the variable i is equal to 3, or the
variable x is less than y, a break will occur. Otherwise, program execution
continues.
588