Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store value to array
Message
De
22/06/2008 14:35:29
 
 
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:
01326023
Vues:
19
>>Dear all,
>>I have an array as below
>>
>>Dimension MyArray(20,5)
>>
>>I want to set value of column 2 to 5000 in all rows.
>>
>>MyArray(1,2) = 5000
>>MyArray(2,2) = 5000
>>MyArray(3,2) = 5000
>>.
>>.
>>.
>>MyArray(20,2) = 5000
>>
>>What is the best way for this?
>>A loop or i can do it with a command line?
>>Thanks
>
>I'm not sure if ArrayBrowser allows to change values in array, but you may try.

If I'm not mistaken it won't. And even if it did, I'm sure he did not mean to do it by hand
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform