Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protected array in recursive function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Protected array in recursive function
Divers
Thread ID:
00646889
Message ID:
00646889
Vues:
34
Hi,

I have a recursive function that uses an array to store data collected from a table. How can I protect this array from having its contents changed after the return of a recursive call?

Let me try to explain better:
Function recursive
parameters x,y,z
&& ...
select a,b,c ;  && 1
from tableX  ;
into array w

recursive(a,b,c) && 2
&& ...
How can I keep the contents of the array w that were select from tableX (1), after calling the function again (1), where another select will be done placing the result in the same array?

TIA

Alonso
Like Frank said: "I did it... MY WAY!"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform