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

Page 288

Advertising
background image




278

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

Advertising