Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make an array property ??
Message
De
06/07/2000 13:18:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00388899
Message ID:
00388986
Vues:
10
>PMFJI, but I have seen several posts now with differing data. Are you trying to specify an array property with a dimension of 1,0 or are you specifying a valid subscript in the column position?
>
>Even though the property sheet displays array properties with a 0 in the column, this is for display purposes only. To specify an array with no columns, simply use myArray[1] (no second subscript). If you want multiple columns in your array, then specify a non-zero value.
>
>Replacing the column with the dot simply made the array a 1-dimensional array because you used 1.0 or 1 as the dimension.


Larry, you are correct. If you try to do it as 1,0 you get an invalid name. 1,1 works OK, too.


>
>>Hi Roi,
>>
>>I have tried several words - it's the same. But as I've mentioned - in a later mail..., myarray(1.0) works, but myarray(1,0) doesn't only dot as difference, comma doesn't work. I do not understand that.
>>
>>Lasse
>>
>>>Hi Lasse,
>>>
>>>I can add a new property to class just like it says without a problem.
>>>
>>>Is MyArray[10,2] what you are actually trying to add? Maybe the array name you are using is reserved word and that's causing the problem.
>>>
>>>>Hi All,
>>>>
>>>>I have a problem,
>>>>
>>>>I would like to make an array property. In my help topic it says:
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform