You guys are right, just using a manual entry for the G187 works just fine. Thanks.
For the local subroutine structure, I thought I found where to change the O call for the sub, but changing it had no effect at all. See the two "N" s... neither had any effect. But changine the "O" in the top line does change the main program number, so I figured I was in the right place, but I guess not. What does the 7 mean in each line?
Code:
#Move comment (pound) to output colon with program numbers
fmt "O" 7 progno$ #Program number
#fmt ":" 7 progno$ #Program number
fmt "N" 7 main_prg_no$ #Program number
#fmt ":" 7 main_prg_no$ #Program number
fmt "N" 7 sub_prg_no$ #Program number
#fmt ":" 7 sub_prg_no$ #Program number
fmt "X" 2 sub_trnsx$ #Rotation point
fmt "Y" 2 sub_trnsy$ #Rotation point
fmt "Z" 2 sub_trnsz$ #Rotation point