As other said, the limit of nested DOs (or function calls) is 128 in VFP. That doesn't mean you can do any recursion on 128 levels. 128 is the limit for nested calls, NOT for recursive function calls.
Other warning: be careful do declare all your local variables as PRIVATE or LOCAL.
Vlad
>Am I right that VFP isn't really designed to allow us to program using recursion...but that we can use recursion as long as it doesn't get too deep?
>
>BTW - What's "too deep", currently?
>
>Are there any special warnings I should heed before I jump in blindly?
>
>TIA
>Rick
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only