JavaScript Editor js editor     Web development 



Main Page

These commands and functions make it possible for you to control program execution and branching within a Visual FoxPro program.

Use To

DO CASE ... ENDCASE Command

Execute the first set of commands whose conditional expression evaluates to true (.T.).В 

DO WHILE ... ENDDO Command

Execute a set of commands within a conditional loop.В 

EXIT Command

Exit a DO WHILE, FOR, or SCAN loop.В 

FOR EACH ... ENDFOR Command

Execute a set of commands for each element in a Visual FoxPro array or collection.В 

FOR ... ENDFOR Command

Execute a set of commands a specified number of times.В 

#IF ... #ENDIF Preprocessor Directive

Conditionally include source code at compile-time.В 

#IFDEF | #IFNDEF ... #ENDIF Preprocessor Directive

Conditionally include a set of commands at compile time if a compile-time constant is defined.В 

ICASE( ) Function

Evaluate the results from a list of conditions.В 

IF ... ENDIF Command

Conditionally execute a set of commands based on the value of a logical expression.

IIF( ) Function

Return one of two values depending on the value of a logical expression.В 

LOOP Command

Return program control directly to the beginning of a looping structure.В 

SCAN ... ENDSCAN Command

Move the record pointer through the currently selected table and execute a block of commands for each record that meets the specified conditions.В 

See Also



JavaScript Editor js editor     Web development