EasyManuals Logo

Domino V100 User Manual

Default Icon
291 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #139 background imageLoading...
Page #139 background image
OPERATION
Variables in a macro
The macro programming language recognises six different kind of variables:
can only be
s than (<)
rted:
ad by the macro to determine if it is a sequential update (performed
e (when ever there is some idle time
ontains the name of the printer
e of the user that is logged in.
in month
ables already created in the current design
macro. A
t curly
nformation.
string variables
treated as
er values.
integer
t are otherwise
f floating
named f0 to
int variables (f0 to f19) are initialised when a print job is
started, but are otherwise treated as a “static local variable”
Output variables: Used to place “the result” of the macro. This is required for
a macro to do anything useful. You can use a Macro output variable to store the
result or you can use a special name called output. Example: output=”The
meaning of life is 42”.
System variables: These variables are controlled by the system and
read from the macro. A system variable is identified by the use of les
and greater than (>) signs. The following system variables are suppo
<seq>: Re
once after each print) or a real time updat
in the system).
<machineid>: C
<userid>: User nam
<HH>: Current hour
<mm>: Current minute
d <ss>: Current secon
<dd> Current day
<dow> Current day of week
<MM>: Current month
<yyyy>: Current year
Printer variables: This relates to vari
you are editing. Generally these variables can only be read from the
printer variable is identified by the use of left curly brace ({) and righ
brace (}). Example: {name of some variable}
String variables: Internal macro variable used for storage of text i
The macro has access to 20 string variables named s0 to s19. All
(s0 to s19) are initialised when a print job is started, but are otherwise
a “static local variable”
Integer variables: Internal macro variable used for storage of integ
The macro has access to 20 integer variables named d0 to d19. All
variables (d0 to d19) are initialised when a print job is started, bu
treated as a “static local variable”.
Floating point variables: Internal macro variable used for storage o
point values. The macro has access to 20 floating point variables
f19. All floating po
27864 Issue 1January 2008 (139)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Domino V100 and is the answer not in the manual?

Domino V100 Specifications

General IconGeneral
BrandDomino
ModelV100
CategoryController
LanguageEnglish

Related product manuals