beautypg.com

How to use tag and goto – IAI America ASEL User Manual

Page 294

background image

Part 2 Programs

Chapter 10 Example of Building a System

272

Part 2 Programs

4. How to Use TAG and GOTO

Description

Use GOTO and TAG commands to repeat the same operation within the program or to jump to a desired

step if a condition is satisfied. A TAG command can be written in a step either before or after a GOTO

command.

Example of Use 1

Repeat the same operation.

Example of Use 2

Skip steps.

Repeated.

Steps to be repeated

Jump.

Steps to be ignored