The RMP Motion Controller API

◆ GcodeNumberOfLinesGet()

virtual int32_t GcodeNumberOfLinesGet ( )
pure virtual

Returns the total line number count in the last loaded item.

Returns
(int32_t) The line number or -1
Note
Returns -1 if no file hase been loaded.
See also
Part of the G-Code method group. Visit our Topic Page for more information.