Variables

Contents

Next to the standard VBS Syntax, the application also allows extra  functions in the script.

Metadata.Values("VARIABLENAME")

This returns the value of a variable inside the script, e.g.

myvar = Metadata.Values("BARCODE01")

This updates / creates the value of a server variable, e.g.

call Metadata.SetValues(“VARIABLENAME”, myvar)

Or

call Metadata.SetValues(“VARIABLENAME”, “VARIABLEVALUE”)

Barcode

call Metadata.SplitValue(“VARIABLENAME”, “BARCODEVARIABLEVALUE”)

connect the specific variable with the barcode recognition variable (set to be splitting) containing the specified value. In this way the new created variable can be used for splitting as well. Usefull when we need to perform additional processing on the recognized barcode used for splitting

call Metadata.SplitVariable(“VARIABLENAME”, “BARCODEVARIABLENAME”)

same as before but connects the specific variable with the barcode recognition variable.

Previous Article

JS

Next Article

Logging