I'm trying to write a line of g code to produce a bolt hole circle with 6 holes equally spaced. The machine is a Bridgeport Discovery 308 sx-15. I keep getting the variable subscript out of range error. Here is an example of what I've tried: N40G181R0.345I0.0J0.0A0Z-5.0P6.0A+360Z0.1F1.0 I don't have a programming manual and I'm fairly new to programming g code. Can anyone help?