See the post-processor code line highlighted in red:
function OnInit()
offX = 0
offY = 0
offZ = 0
post.SetCommentChars (“()”, “”) --make sure ( and ) characters do not appear in system text
post.Text (" (Filename: “, fileName, “)\n”)
post.Text (” (Post processor: “, postName, “)\n”)
post.Text (” (Date: “, date, “)\n”)
if(scale == metric) then
post.Text (” G21 (Units: Metric)\n") --metric mode
else
post.Text (" G20 (Units: Inches)\n") --inch mode
end
post.Text (" F1\n G53 G90 G40\n")
minArcSize = 0.2 --arcs smaller than this are converted to moves
firstRef = refDistance >=0
currentZAxis = " Z"
dist = 9999999
lastz = 0
thcstate = 1
ThcOff()
xPlus = false
yPlus = false
cX = 0
cY = 0
end
My thoughts are that is simply wrong, as “>=” means “is greater than or equal to”, and is normally used as a comparative test on a variable.
In this case however, it’s attempted use is to define a variable.
Isn’t that completely wrong ??