Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form xxx to array?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00152836
Message ID:
00152887
Vues:
21
>>>Can I return an array from a form?
>>>
>>>ie do form MyForm to Marray. I tried returning an array from the form but marray is of type 'C', with the first element of the array as its value.
>>>
>>>Thanks,
>>>
>>>Paul
>>
>>You better use property-array defined in calling object.
>
>do you mean make a property on the class like aMyArray?
>
>I tried this and then I tried to use a dimension statement like dimension this.aMyArray(10,4), but I get an error that says aMyArray is not an array.

If you created property Myclass.Myarray(1) and instanciate object MyObject from MyClass, then you make reference using object name:
DIMENSION (MyUpperObject).MyObject.Myarray(5)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform