Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursion with foxpro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01086981
Message ID:
01087261
Vues:
29
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform