Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three dimensional Array
Message
De
25/05/2006 16:37:30
 
 
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:
01125064
Vues:
17
>>>>is it possible to create a three dimensional array in VFP?
>>>
>>>dimension myArray[5,3]
>>>myArray[1,1] = 'Test'
>>>myArray[1,2] = 0
>>>myArray[1,3] = .t.
>>>list memory like myArray
>>
>>That's not a 3 dimensional array, it's still only 2 dimensions.
>>
>>No, you can not create a 3 dimensional array with VFP.
>
>Can you explain the difference on the life example? I'm trying to figure this out and can not so far.

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.
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