Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AINS() doesn't work?
Message
 
À
08/12/2004 14:46:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00967750
Message ID:
00967855
Vues:
8
If you just want to add an additional column to the array, you need to re-dimension it. Using your sample...

DIME aMyarray[2,10]
aMyarray = "ABC"

...gives you two rows with ten columns each. To make it two rows with eleven columns each issue...

dime aMyarray(2,11)

...doing so will add a column to each row. However, row 2, columns 10 and 11 will be initialized to .f.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform