## Jumping to a Label

GoTo dialog box

The Insert | Flow Control Command | Goto option will bring up the GoTo dialog box which allows you to create GOTO statements within your part program. When the program is executed and PC-DMIS encounters a GOTO statement, it will move to the location of the label identification.

The Edit window command line for GOTO reads:
GOTO/label_ID

To create a GOTO Statement in the Edit window:

1. Select Goto from the submenu.

2. Select the label you want to use from the Current Labels box.

3. Click the OK button.

The Goto dialog box also allows you to create new label ID’s that can then be attached to a GOTO statement. To do this:

1. Select Goto from the submenu.

2. Type the name of the label you will create in the Goto Label box. The GOTO/label command is entered in the Edit window.

Note: If a label is created within the GoTo dialog box, you must create the label identification using the Label menu option prior to executing the part program.

More:

Goto Label

Current Labels