Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: birdbrain on July 26, 2008, 06:28:13 AM
-
Can anyone explain the error popup that says "too many nests Mach4"???
I am using Mach3.
Is there a limit to the nesting levels in a program?
What is this limit?
Does this limit apply to parameters or to subprograms (or to both)?
I am nesting maybe 4 deep with common calculations as parameters.
My sub programs are also nested up to 4 deep.
Nesting common blocks of code reduces input errors and makes the program much shorter.
-
I think the nest depth is 3.
Graham
-
I think the nest depth is 3.
Graham
Thanks Graham.
Would that refer to subprogram levels or to parameters??
-
Both Art and Brian have always said that there is no guarantee that parameters are safe.
I have used subs up to 3 deep with no problem, parameters seem to get corrupted after 2 deep totally at random.
Graham