Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Three dimensional Array
Message
From
25/05/2006 16:58:19
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01125053
Message ID:
01125074
Views:
24
>>A 3 dimensional array would be something like this:
>>
>>DIMENSION xyz[a,b,c]
>>
>>
>>Think of being able to reference a single element like an array of books, the page in a book, and a word on that page in the book.
>
>Great sample. I was trying to imagine 3 dimensions as time, x & y and it didn't work.

You could extend this to even more dimensions:

4th - libraries
5th - cities
6th - countries

etc.

You could then reference with a single array, any word on any page in any book in any library in any city in any country.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform