Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three dimensional Array
Message
 
À
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:
01125079
Vues:
14
>>>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.

When I need such array dimensions I prefer to use cursor ;-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform