Announcement

Collapse
No announcement yet.

too much recursion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • too much recursion

    Help.. I'm working on something for a client and have received the following error..

    Internal Error : too much recursion

    It happens when trying to execute a stop adjust function and I think it is because this code is large and complex.

    Can anyone help me out here?? I did a search and nothing came up. I think I've reached a boundary for EFS and need to create smaller LIB files...

    HELP??

    B
    Brad Matheny
    eSignal Solution Provider since 2000

  • #2
    Nevermind...

    too much recursion has nothing to do with the code being too big, it's all about calling too many recursive functions within functions...

    for example...


    function checkstops(){
    ...
    adjuststops();
    ...
    }

    function adjuststops() {
    ...
    checkstops();
    ...
    }

    each function calls eachother - dang..

    B
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment


    • #3
      Doji,
      Sorry, that is way above my pay grade.

      I will say, however, that I never liked recursion when I had to study it to get through a class (oh sooo many years ago). For whatever reason, I could never quite visualize it and that is a problem for me.

      I never use recursion in my own programming efforts. It has always been possible to use a different approach to the same answer. I know you are a much more advanced programmer than I, but perhaps this simple suggestion is all it takes?

      Good luck, Bob

      Comment

      Working...
      X