Number variable

From Macros Wiki
Revision as of 21:15, 26 July 2010 by MikeO (talk | contribs) (New page: A number variable is defined using the GLOBAL or LOCAL command. :Number variables can hole a single value or a set of values (an array). For example: :LOCAL A1, A2, A3(4), B1, B2 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A number variable is defined using the GLOBAL or LOCAL command.

Number variables can hole a single value or a set of values (an array). For example:
LOCAL A1, A2, A3(4), B1, B2
A1 = 4
A2 = 8
A3(1) = 2
A3(2) = 3
A3(3) = 5
A3(4) = 8
B1 = A1 + A2
B2 = A1 + A3(2) + A3(4)