Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store value to array
Message
De
22/06/2008 18:03:01
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/06/2008 06:18:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01325992
Message ID:
01326046
Vues:
24
>>What is the best way for this?
>>A loop or i can do it with a command line?

>You can replace the values of all elements in one line myArray=5000, but not only in the 2nd column (that among others is why in VFP local temp cursors are easier to use than arrays).
>So as you said, a loop might be the easiest way.

But if values for myarray[i,1] would have to be assigned later anyway... then, myArray=5000 would be very fast, and the rest would be the same as before.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform