Control Flow

You can write a program that runs through 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. With control constructs, you can write ViviFire code that makes decisions or that does something again and again.

In this section

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