Special Label Tokens

Special Label Tokens

The following are special label tokens that can be used within the label control file.  These perform an action within the system and do not produce any output.

Note: The following tokens are only available in the labeling system in releases after 1/30/2013

The <SKIP> token

The skip token informs the label system to not output the line the token is on to the printer or output file.

The <CONTINUE> token

The continue token informs the label system to continue processing the next line in the label control file before outputing the information.

The <INDEX> Token

The index token sets/increments the default sub-index value for tokens that use a subindex.

Example

Below is an example of the <SKIP>, <CONTINUE> and <INDEX> statements and the equivalent statement without them.

<INDEX/1><SKIP>
<STOCKCODE>,<DESC>,<INDEX><CONTINUE>
<STOCKCODE>,<DESC>,<INDEX><CONTINUE>
<STOCKCODE>,<DESC>,<INDEX><CONTINUE>
<STOCKCODE>,<DESC>

is equivalent to

<STOCKCODE/1>,<DESC/1>,<STOCKCODE/2>,<DESC/2>,<STOCKCODE/3>,<DESC/3>,<STOCKCODE/4>,<DESC/4>

The <FUNCTION> token

The function token executes a function within the script file designated by the [SCRIPT] command. The basic format is 

<Function(Command=FunctionName)> where FunctionName is the name of the function to call.

To pass information to the function as an argument use

<Function(Command=FunctionName["Information"])> where Information is a string to pass to the function. A token can be used as pass details to the function. 

In the below example the script file is set and then the variable PALLETCODE is set to the results of calling the Base36 function in the script with the SCC-B token.

[SCRIPT] c:\scripts\Base36.vbs
[VAR] PALLETCODE <Function(Command=Base36["{SCC-B}"])>