No. DO n and End n must correspond to each in one program.
Something like the following may help you
#1=0 (Control Flag - initialize before starting DO Loop)
WHILE[#103LE#100]DO1
#102=#102-#101
#108=ABS[#102]
#104=[#18*#18]
#105=[#108*#108]
#106=#104-#105
#107=SQRT[#106]
#109=#108/#107
#110=ATAN[#110]
WHILE [[#110 LE 45.] AND [#1=0]] DO2
#1=1 (Set Control Flag so DO2 executes only once)
G1
G3
G3
G3
#103=#103+1.
END2
#1=0 (Reset Control Flag so that DO2 will execute again if #110 LE 45.)
N20
G1
G3
G3
G3
#103=#103+1.
END1
Regards,
Bill


LinkBack URL
About LinkBacks





