I also cant work out how to loop a subroutine as many times as what's in the variable \311 e.g P100 M98 L\311 is there a way to enter this that will work.
On my fanuc machine I would enter P100 M98 L#311.
I might go and try the fanuc style just in case.