VFP Tutorial - Program control

FoxPro is a structured language without a GoTo statement. Program flow is controlled by selection and repetition structures:

Selection

Selection structures determine whether the program should execute one section of code or another. The FoxPro syntax supports two ways of making this choice:

Repetition

Repetition structures determine how many times the program should execute a particular section of code. FoxPro supports three types of repetition:


Introduction | Environment | Project | Tables | Forms | Navigation | Executable

MS Access technical tips

Visual FoxPro technical tips

General Tips

 

More tips from Alvechurch Data

Visual FoxPro Tutorial - The Goto statement

The truth about the FoxPro Goto statement

Read More

Visual FoxPro Tutorial - If ... Else ... EndIf

Using If EndIf to control program flow in Visual FoxPro

Read More

Visual FoxPro Tutorial - Navigation

Navigating between records in Visual FoxPro

Read More

Visual FoxPro Tutorial - Scan ... EndScan loop

Using a scan loop to control program flow in Visual FoxPro

Read More

Visual FoxPro Tutorial - Variables

Using variables in Visual FoxPro

Read More