contents.gifindex.gif

Goto Keyword

Syntax

GOTO state_exp ;

state_exp - An expression identifying the next state, optionally followed by WITH transition equations.

Use

The GOTO statement causes an unconditional transition to the state indicated by state_exp. GOTO statements can be nested with If-Then-Else, CASE, and With statements.

Examples

GOTO 0 ; "goto state 0

GOTO x+y ; "goto the state x + y


See Also

State_Diagram

Case

If-Then-Else

With