Hello Guest it is March 28, 2024, 08:55:04 PM

Author Topic: limited lines query  (Read 2411 times)

0 Members and 1 Guest are viewing this topic.

limited lines query
« on: September 07, 2009, 06:29:07 PM »
Hi. Probably a short answer to this one. If a licensed copy of mach is limited to 10,000,000 lines, does this mean ten million lines of code as written or ten million lines of code as executed? If I set a subroutine of 10 lines to execute 1,000,000 times, would this crash it, or would it just see ten lines over and over again?

not that this is ever likely to bother me as I haven't written anything bigger than a Kilobyte :)
Re: limited lines query
« Reply #1 on: September 07, 2009, 07:05:52 PM »
I would assume 10 lines executed 10,000,000 times would be just fine.  The limitation is due to memory constraints, due to internal data structures, and perhaps limitations in the G-code parser.  A 10-line program would have a tiny parse tree representation.

Regards,
Ray L.
Regards,
Ray L.