GOTO Command

Purpose

Allows the program to continue execution at the designated step number.

Syntax

GOTO step#

Parameters

step# – specifies the step number you want to go to. If the designated step number is less than the current step number (making a backward jump), iFIX suspends processing the Program block and the jump occurs during the next scan period. If the designated step number is greater than the current step number (making a forward jump), execution continues at the next step without interruption.

Example

To continue execution at the step 14, enter:

GOTO 14