OPERATION
Macro text examples
//A remark is ignored when the macro executes.
//Text written after two slashes ’//’ is considered
// How do I work with strings
s0 = ”String”
s1 = ”A s
s2 = ”A 2nd sting variable”
s3 = ”text1”
// Text with forced newline c
s4 = ”text1\nText2\nte
// You can also use s5 to s1
s19 =
// How
d0 = 0
d1 = 100
d2 = 30
// You
d19 = 1
f0 = 0.005
f2 = 2.345
// You c
f19 = 19.43223
a remark.
tring is created with quotation mark”
style ”\n”
xt3\\”
8
”Last string variable”
do I work with integers
0
can also use d3 to d18
3000
f1 = 1.234
an also use f3 to f18
// This is how I get a result
amples
A remark is ignored when the macro executes.
after two slashes ’//’ is considered a remark.
// How do I work with ’if/then’
if d1 > 20 then d1 = 1
if d1 < 1.05 then
d1 = 1.00
s5 = s3 + s4
output = s5
// output: text1text1\nText2\ntext3\\
Macro if/then ex
//Text written
27864 Issue 1January 2008 (141)