Hello Guest it is March 28, 2024, 02:08:28 PM

Author Topic: error "too many nests Mach4"  (Read 4982 times)

0 Members and 1 Guest are viewing this topic.

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
error "too many nests Mach4"
« 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.

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: error "too many nests Mach4"
« Reply #1 on: July 26, 2008, 08:16:47 AM »
I think the nest depth is 3.

Graham
Without engineers the world stops

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
Re: error "too many nests Mach4"
« Reply #2 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??

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: error "too many nests Mach4"
« Reply #3 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
Without engineers the world stops