Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: birdbrain on July 26, 2008, 06:28:13 AM

Title: error "too many nests Mach4"
Post 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.
Title: Re: error "too many nests Mach4"
Post by: Graham Waterworth on July 26, 2008, 08:16:47 AM
I think the nest depth is 3.

Graham
Title: Re: error "too many nests Mach4"
Post by: birdbrain on July 26, 2008, 08:52:31 AM
I think the nest depth is 3.

Graham


Thanks Graham.
Would that refer to subprogram levels or to parameters??
Title: Re: error "too many nests Mach4"
Post by: Graham Waterworth on July 26, 2008, 01:35:26 PM
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