Control Flow

You can write a program that executes statements in one direction from start to end. But you will find that such programs cannot do much.

Control constructs let you change the flow of your program's execution. With control constructs, you can write ViviFire code that makes decisions or that does something again and again.

In this section

Decision Constructs
Execute different blocks of code as the result of a test.
Loop Constructs
Execute a block of code again and again.
Nested Control Constructs
Put control constructs in other control constructs.