
PROGRAMMING
B–63684EN/01
16. CUSTOM MACRO
277
Two types of argument specification are available. Argument
specification I uses letters other than G, L, O, N, and P once each.
Argument specification II uses A, B, and C once each and also uses I, J,
and K up to ten times. The type of argument specification is determined
automatically according to the letters used.
Argument specification I
A
B
C
D
E
F
H
#1
#2
#3
#7
#8
#9
#11
I
J
K
M
Q
R
S
#4
#5
#6
#13
#17
#18
#19
T
U
V
W
X
Y
Z
#20
#21
#22
#23
#24
#25
#26
Address Address
Address
Variable
number
Variable
number
Variable
number
S Addresses G, L, N, O, and P cannot be used in arguments.
S Addresses that need not be specified can be omitted. Local variables
corresponding to an omitted address are set to null.
S Addresses do not need to be specified alphabetically. They conform
to word address format.
I, J, and K need to be specified alphabetically, however.
Example
B_A_D_ … J_K_ Correct
B_A_D_ … J_I_ Incorrect
Argument specification II
Argument specification II uses A, B, and C once each and uses I, J, and
K up to ten times. Argument specification II is used to pass values such
as three–dimensional coordinates as arguments.
A
B
C
I
1
J
1
K
1
I
2
J
2
K
2
I
3
J
3
#1
#2
#3
#4
#5
#6
#7
#8
#9
#10
#11
K
3
I
4
J
4
K
4
I
5
J
5
K
5
I
6
J
6
K
6
I
7
#12
#13
#14
#15
#16
#17
#18
#19
#20
#21
#22
J
7
K
7
I
8
J
8
K
8
I
9
J
9
K
9
I
10
J
10
K
10
#23
#24
#25
#26
#27
#28
#29
#30
#31
#32
#33
Address Variable
number
Address Variable
number
Address Variable
number
S Subscripts of I, J, and K for indicating the order of argument
specification are not written in the actual program.
G65 must be specified before any argument.
D Argument specification
Limitations
D Format