EasyManua.ls Logo

Domino V100 - Page 142

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
Loading...
OPERATION
Macro arithmetic examples
Macro label examples
amples
,<,>
iable, an equal sign, a source and
ptionally an operator and a second source
//Or
and label example
o I declare a new label
// How to jump to a label
//this will keep jumping until d1 is 19
utput the result
output = d1
point support +, -, * and /
f1 = 3.45 * 4.56
f2 = 3.45 / 2.00
// Integers supports in addition &, |, ^ and %
d2 = d1 % 7
d3 = d1 % d0
Macro goto examples
Macro calculus ex
//Standard arithmetic: +,-,*,/,=
//A statement consists of a destination
//var
//o
d2 = d1
d1 = d1 + 1
// goto
d1 = 0
// How d
:MyLabel
//taste of arithmetic
d1 = d1 + 1
if d1 < 19 then goto MyLabel
// How to o
// floating
(
142) 27864 Issue 1 January 2008

Table of Contents

Related product manuals