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)
Summary of Contents for V100
Page 1: ...V100 V200 V400 Maintenance Manual Operation and ...
Page 2: ... 2 27864 Issue 1 January 2008 ord Issue 1 January 2008 Amendment Rec ...
Page 4: ... 4 27864 Issue 1 January 2008 THIS PAGE INTENTIONALLY LEFT BLANK ...
Page 6: ...HEALTH SAFETY THIS PAGE INTENTIONALLY LEFT BLANK 6 27864 Issue 1 January 2008 ...
Page 8: ...HEALTH SAFETY THIS PAGE INTENTIONALLY LEFT BLANK 8 27864 Issue 1 January 2008 ...
Page 70: ...THIS PAGE INTENTIONALLY LEFT BLANK 70 27864 Issue 1 January 2008 ...
Page 274: ...APPENDIX B EASYDESIGN MANUAL 274 27864 Issue 1 January 2008 ...
Page 291: ...APPENDIX B EASYDESIGN MANUAL THIS PAGE INTENTIONALLY LEFT BLANK 27833 Issue 1January 2007 291 ...