Hi Roberto!
I suggest you, that write an "empty mirror" FLL function, whit which you call your routin again. This function can behave like a wrapper to you function call.
From an FLL function you can call any VFP function even UDFs. But, as I assume, the nesting level goes down to 1, because the call coming from system level. (But it is true in that case, if the Do nesting limit is coming from programatical reasons, not from stack limitations, because FLL function uses the same stack as VFP.) The FLL function get 1 more parameter than your recoursive function, this is the name of your function. In VFP API there is an _EVALUATE() function, which takes a string parameter, same like VFP function.
BB
>hello, there is a way to write a recursive procedure in FoxPro 2.6 ?
>actually there is the limit of 32 nested DO, but i need a limit of 200.
>Someone could help me ?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement