Parent Topic: Language

GOTO

The GOTO statement allows execution to transfer to a different part of the model. The LABEL statement is used in conjunction with the GOTO statement to provide a transfer location.

   Syntax:  GOTO ident ;

   Example:  if (%1 = 3) then goto skip; endif;
Note: GOTO statements should be used sparingly and not at all if possible. `Infinite' loops created using GOTO statements are not detected by MODEL.


Parent Topic: Language
About PCI Help Gateway