Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increase array size
Message
De
08/03/2004 00:07:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Increase array size
Divers
Thread ID:
00883979
Message ID:
00883979
Vues:
47
hi all
i have an array,and i want to add a column into it
but by folowing syntax i lost column data and it replaced with .F.
i want only add a column to my array without
*******************************************
DIMENSION myarr(3,2)
myarr(1,1)="1"
myarr(1,2)="a"
myarr(2,1)="2"
myarr(2,2)="b"
myarr(3,1)="3"
myarr(3,2)="c"
DISPLAY MEMORY LIKE myarr
AINS(myarr,2,2)
DISPLAY MEMORY LIKE myarr
*******************************************
*i want to see it like
myarr(1,1)="1"
myarr(1,2)="a"
myarr(1,3)=".F."
myarr(2,1)="2"
myarr(2,2)="b"
myarr(2,3)=".F."
myarr(3,1)="3"
myarr(3,2)="c"
myarr(3,3)=".F."
please help me
tanks all
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform