Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP syntax for this VB statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01227095
Message ID:
01227098
Vues:
16
>>>Would you please tell me what is the VFP syntax for this VB statement?
>>>
>>>Obj.Prop1 = Array ("61p", "6p", "62p", "47p")
>>>
>>
>>Try
>>
>>obj.AddProperty('myArray[1]')
>>dimension obj.myArray[4]
>>obj.myArray[1] = "61p"
>>obj.myArray[2] = "6p"
>>
>>In other words, this should be an array property.
>
>I get this error:
>
>Member obj does not evaluate to an object

What is obj? Was it created with CREATEOBJECT() command before? My point is that array in VB defines an array, so the property should be an array property.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform