Chapter 5 : Using Processes

5.2.6.Set Label

General introduction

The Set Label process allows you to set a label (reference) in your label

 

program. A label can be up to 18 characters long.

 

These reference points can be used for jumping and branching within

 

your label program (See Section 5.2.3 - Goto Label).

 

Only uppercase alphabetic and numeric characters can be used in the

 

name of the label.

 

 

What is a label

In this context, a label is a reference point in your program that can be

(reference)

set to identify a specific position in the program, such as a certain line

 

in a process. Once a label reference is entered it always refers to the

 

same position in your program.

 

When a label is defined in a program, a direct jump to that location can

 

be made from anywhere within the program.

 

 

Set Label

To set a label, proceed as follows:

 

1 Add the process Set Label to your label program

 

2 Type the name you want to identify this tag.

 

3 Click OK

Example

In this example the program sets a reference point “Browse”. Using this

 

label you can jump to this point from anywhere in your program.

www.mcl-collection.com

October 2007

Page 141

Copyright © 2007 • MCL Technologies • All Rights Reserved

 

 

Page 141
Image 141
Datamax v1.1x user manual Set Label