Here's a quick example.
G90 G01 X0.0 Y0.0 F1000(absolute, line move, feedrate)
M98 P1 (M98=call sub, P=sub# to call)
M98 P2
M98 P3
M98 P4
M30 (program rewind)
O1 (sub#)
X0.0 Y0.0
X1.0 Y1.0
X0.0 Y0.0
M99 (sub end)
O2
X0.0 Y0.0
X-1.0 Y-1.0
X0.0 Y0.0
M99
O3
X0.0 Y0.0
X1.0 Y1.0
X0.0 Y0.0
M99
O4
X0.0 Y0.0
X-1.0 Y-1.0
X0.0 Y0.0
M99
%
The manual goes into pretty good detail about subs, and with a bit of practice code, the methods become clear. Here is a link for the manual
http://www.machsupport.com/docs/Mach3Mill_1.84.pdfI would keep it handy, it is well written, and covers tons of stuff.
Sections you might find relating to subs are...
10.5.2
10.8.7
10.8.8
I'm sure there's more, but that's just from a quick scan.
Enjoy
