Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array
Message
 
À
27/03/2001 13:52:57
Ben Dekker
Dekker Soft & Hardware
Axel, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Array
Divers
Thread ID:
00488635
Message ID:
00489108
Vues:
12
>George
>
>>Add the property in the class designer. Select Class/New Property and enter >myarray[1] in the dialog.
>
>Sorry, George but I'm a beginner. I started all over and now its working
>only I have still one question.
>
>I use the next code:
>
>Pulic aPer
>DIMENSION aPer(5)
>store 11 to aPer(1)
>store 12 to aPer(2)
>store 21 to aPer(3)
>store 22 to aPer(4)
>store 40 to aPer(5)
>
>In the interactivechange event I use this.value
>this.value is returning the next value's
>"11" "12" "21" "22" "40" their are character strings and not numeric
>is this normal??

For arrays, yes, it is normal. If the control source was a field in a table that was numeric or integer, then the data type would be either numeric or integer.

To retrieve the actual value, you can use VAL(), or the control's ListIndex property for the offset into the array.

>Ben
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform