Is it possible? The code below drops out after the first run of the internal subroutine.
(#1001 = X Axis)
(#1002 = A Axis)
(#1003 = A Axis Increment)
#1001=0
#1002=22.5
#1003=22.5
M98 P1002 L9
O1002
M98 P1001 L8
O1001
g0 x#1001 A#1003
G73 z-.04 r.0 q.02 f3
#1002=[#1003+45]
M99
#1001=[#1001+.333]
#1003=[#1003+20]
M99