>Is there a way to implement recursive functions in VFoxPro?
>Best regards,
>Pablo Velazco
Basically,
function myfunction()
myfunction()
endfunc
Make sure to make all appropriate variables LOCAL, so the current recursion doesn't step on previous values.
Recursion is limited to 128 levels, so you need to control it.
Insanity: Doing the same thing over and over and expecting different results.