Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three dimensional Array
Message
De
25/05/2006 16:58:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01125053
Message ID:
01125074
Vues:
20
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform