2.5 Local variables
The local variables #1..#33 are kept in what are called “levels”.
When G65 or G66 is called:
- the current values of all those locals are copied to a level
- any word used when calling G65 and G66 are transferred into the local variables.
The following table shows how the words are mapped to local variables:
Argument List | Local Variable in a Macro | Named Parameter |
---|---|---|
A | #1 | #<_args.a> |
B | #2 | #<_args.b> |
C | #3 | #<_args.c> |
D | #7 | #<_args.d> |
E | #8 | #<_args.e> |
F | #9 | #<_args.f> |
H | #11 | #<_args.h> |
I | #4 | #<_args.i> |
J | #5 | #<_args.j> |
K | #6 | #<_args.k> |
M | #13 | #<_args.m> |
Q | #17 | #<_args.q> |
R | #18 | #<_args.r> |
S | #19 | #<_args.s> |
T | #20 | #<_args.t> |
U | #21 | #<_args.u> |
V | #22 | #<_args.v> |
W | #23 | #<_args.w> |
X | #24 | #<_args.x> |
Y | #25 | #<_args.y> |
Z | #26 | #<_args.z> |