Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do Factorials in VFP with Recursion
Message
De
22/02/2000 00:07:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00335196
Message ID:
00335240
Vues:
16
>You may use recursion, if you're calculating a determinant. I created a recursion-based program in VB...
>
>BTW, it's a well-known fact, that each recursive program could be done in non-recursive way too.

Maybe it's worth to add that the recursive solution is always (or almost always) slower than the non-recursive solution,
while the recursive one is usually more clear and readable... but it's not the case witht the factorials! :)

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform