1784
« on: December 05, 2014, 01:35:35 AM »
I am trying to get the current Gcode line Number. The book is not really clear about the parameters required.
ANY Ideas on the call ?
buff, rc = mc.mcCntlGetGcodeLine(number mInst, number LineNumber)
--What Gcode line number is the interpreter on at present
Mach4 errors out on everything I tried . It says the call requires (number,number,string,number) but that does not make sense as you are looking for the number.
I tried LineNumber as the book says thinking is was an internal Parm but it is <nil> not a good param.
(;-) TP