Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increase array size
Message
From
08/03/2004 00:42:13
 
 
To
08/03/2004 00:07:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00883979
Message ID:
00883980
Views:
9
Reza,

Try below -

>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)
dimension myarray[3,3]
or
dimension myarray[alen(myarray,1),alen(myarray,2)+1]
>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
Manoj Karki
manoj0karki@yahoo.com
Nepal
Previous
Reply
Map
View

Click here to load this message in the networking platform