Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Dimension to resize an array
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01085313
Message ID:
01085351
Views:
16
>Two dimensional array's act simular to one dim's when adding a sub.
>
>the values in A(x,x) will shift ...
>
>where
>1,1 = a
>1,2 = b
>1,3 = c
>1,4 = d
>1,5 = e
>2,1 = a
>2,2 = b
>2,3 = c
>2,4 = d
>2,5 = e
>
>redim from (2,5) to 2,6 will
>1,1 = a
>1,2 = b
>1,3 = c
>1,4 = d
>1,5 = e
>1,6 = a
>2,1 = b
>2,2 = c
>2,3 = d
>2,4 = e
>
>etc...
>by design --- so you need to code accordingly

Thank you for the explanation.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform