Structured Programming

These commands and functions enable you to control program execution and branching within a Visual FoxPro program.

DO CASE ... ENDCASE Command

DO WHILE ... ENDDO Command

EXIT Command

FOR ... ENDFOR Command

#IF ... #ENDIF Preprocessor Directive

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

IF ... ENDIF Command

IIF( ) Function

SCAN ... ENDSCAN Command