Sorry if this doesn't work!!

I'm having a little problem with the M98 & M99 codes. We are doing a pattern of 3 in a row of the letter (I). And if I put a end of program (%)

at the end of the M99 I just sits there and repeats and repeats then I end up canceling it and then I only get one (I). And if I put a L3 on the first M98P0207 I get three patterns at .435 inches apart which they should be .900 inches apart. What am I doing wrong. So here's the code. And I'm using Mach to run this. (trying to run this) and the machine at school is a HAAS M1 mill. Hope the picture work to get a better idea. And I hope this makes sense. Thanks

%

O00207

N10G90

N20G80

N30G40

N40G17

N50G54

N60T1M6

N70G43H1

N80S2500M3

N90G00X-.75Y.25Z.600

N100G1Z0.00F25.0

N110X4.00

N120Y.75

N130X-.75

N140Y1.50

N150X4.00

N160T3M6

N170G43H3

N180S2500M3

N190G00X.375Y.75Z.100

N200Z-.05F25.0

N210M98P0207

N220G90

N230G00X1.275Y.75

N240Z-.05

N250M98P0207

N260G90

N270G00X2.175Y.75

N280Z-.05

N290ZG28

N300M30

%

O0207

N310G91

N320X.450

N330X-.125

N340Y.50

N350X.125

N360X-.450

N370X.125

N380Y-.50

N390Z.100

N400M99