en:software:mdurosettacncsoftwaregcode:variables:local_variables

The local variables #1..#33 are kept in what are called “levels”.
When G65 or G66 is called:

  1. the current values of all those locals are copied to a level
  2. 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>
  • Last modified: 2023/03/22 09:07
  • by 127.0.0.1