I am trying to run/call a couple of sub programs from a While-Do loop and when it exists the sub with M99 it clears all the values in the common variables registry #100-#199. I know M99 will clear the local variables but I didn't think it clears the common variables. Is there a parameter that needs to be changed to prevent this ?.
i.e.
#100=0
WHILE[#100LT5]DO1
M98 P1111
M98 P2222
#100=#100+1
END1
Thanks