g90 g21 g17 f200
g0 x0 y0 z1
(seq is little circ in main OK )
( sqr 'sub' in xtrnl file OK )
( diamond 'sub sub' in xtrnl file OK its called from sub in xtrnl file given parms by sub in xtrnl file)
( big circ 'sub' i xtrnl file OK )
( little circ in main 0.1mm deep)
x1 z-.1
g02 i-1 j0
g0 x0 y0 z1
( call file 666 and sub 20 rect .5mm deep)
#1=20
#2=7
#3=5
#4=-.5
o666 call [#1] [#2] [#3] [#4]
( call file 666 and sub 10 circle 3mmrad .8mm deep)
#1=10
#2=3
#4=-.8
o666 call [#1] [#2] [#3] [#4]
( clean up )
g90g21f200
g0z1
m2