These commands and functions make it possible for you to control program execution and branching within a Visual FoxPro program.
Use | To |
---|---|
Execute the first set of commands whose conditional expression evaluates to true (.T.).В |
|
Execute a set of commands within a conditional loop.В |
|
Exit a DO WHILE, FOR, or SCAN loop.В |
|
Execute a set of commands for each element in a Visual FoxPro array or collection.В |
|
Execute a set of commands a specified number of times.В |
|
Conditionally include source code at compile-time.В |
|
Conditionally include a set of commands at compile time if a compile-time constant is defined.В |
|
Evaluate the results from a list of conditions.В |
|
Conditionally execute a set of commands based on the value of a logical expression. |
|
Return one of two values depending on the value of a logical expression.В |
|
Return program control directly to the beginning of a looping structure.В |
|
Move the record pointer through the currently selected table and execute a block of commands for each record that meets the specified conditions.В |