These commands and functions make it possible for you to control program execution and branching within a Visual FoxPro program.
DO CASE ... ENDCASE Command
DO WHILE ... ENDDO Command
EXIT Command
FOR ... EACH Command
FOR ... ENDFOR Command
#IF ... #ENDIF Preprocessor Directive
#IFDEF | #IFNDEF ... #ENDIF Preprocessor Directive
IF ... ENDIF Command
IIF( ) Function
LOOP Command
SCAN ... ENDSCAN Command