Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive funtions
Message
De
29/09/2003 12:34:54
 
 
À
29/09/2003 12:29:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00833199
Message ID:
00833201
Vues:
21
>Is there a way to implement recursive functions in VFoxPro?
>Best regards,
>Pablo Velazco

Basically,
function myfunction()

** call itself

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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform