## Jumping to a Label Based on Conditions

If Expression dialog box

The Insert | Flow Control Command | If Goto option will allow you to create IF GOTO statements within your part program. When the part program is executed and PC-DMIS encounters an IF statement, it will GOTO the location of the label identification if the specified expression evaluates to a non-zero value. See the "Using Expressions and Variables" section for information on creating expressions.

The Edit window command line for an IF_GOTO statement reads:
IF_GOTO/expression, GOTO=Label

More:

Expression

Label