At 19:30 2009-11-29, [email protected] wrote:
>Yes, it was recursion.
>
>In my program, I called a subroutine inside the program with the same name
>as the final exe.
>
>i.e. the prg was ziptest.prg and the subroutine was zipper. When the
>project compiled it created an exe called zipper.exe.
>
>When the program ran, it came to the line calling itself.
>
>So dona name your procedures with the same name as the exe that gets
>created. <vbg>
In your initial post, you stated "Program continues on from
here. The above are the only variables used in this program. In the
only subroutine ErrorLog, it has 5 more."
Normally, calling is limited to 128 levels. Even if each level
had its own set of the variables, the number of variables would be
far from the limit. I would have expected to see an error 103
(Allowed DO nesting level exceeded).
Have you have changed stacksize to a horrendously big value?
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.