Mastercam后处理正确输出Mastercam软件的版本号,
[POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V24.00 P0 E1 W24.00 T1614093555 M24.00 I0 O1
scncpost_revision := "22.81" # Internal revision number for use by CNC Software only. Please do not change this number.
scustpost_revision := "0" # Revision number for use by Resellers or customers.
fs2 1 4 0 4 0
fmt 1 version
pheader$ #Call before start of file
if vers_no$ < 19,
[
version = vers_no$ - 9
"Mastercam X", *version, e$
]
else,
[
version = vers_no$ 1998
"Mastercam ", *version, e$
]