Control Structures

Cypress Enable has complete process control functionality. The control structures available are Do loops, While loops, For loops, Select Case, If Then , and If Then Else.

In addition, Cypress Enable has one branching statement: GoTo. The GoTo Statement branches to the label specified in the GoTo Statement.

To define a label, type the label's name followed with a colon.

Your label name should not match any reserved word or constant. For information on constants, see "Enumerated Constants Overview". To view a list of other reserved words, see "Functions, Statements, Reserved words - Quick Reference".

For example:

Goto label1

.

.

.

.

label1:

The program execution jumps to the part of the program that begins with the label "label1:".

More:

Loop Structures