Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursion with foxpro
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01086981
Message ID:
01087261
Views:
30
>>Sure, you can call a function from within that function. How that must be done with the above equation is your endeavour. :)
>
>Recursion isn't just a function calling a function. It is a function calling a very special function, namely itself.
>
>Einar

Actually, that is just "direct" recursion, you can also have "indirect" recursion:

Function A calls Function B that calls Function C that calls Function A.

Expanding on the recursion definition:

Recursion: Technique involving the use of a recursive procedure, subroutine, function, or algorithm
Recursive: See Recursion

Of course, you use it at your own risk <g>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform