Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I Store an Array in a Custom Object?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can I Store an Array in a Custom Object?
Divers
Thread ID:
00137989
Message ID:
00137989
Vues:
55
Greetings!

I have a custom object that I use to store variables, which I think is so much better than having a lot of public variables.

Is it possible to store an array in a custom object? After adding the property in the object, any attempt to dimension it results in a " is not an array" error message. The variable is initialized as logical by default, and I do not know how to set its default to an array. It SEEMS that the only way to have a globally-accessible array is to just make it PUBLIC. Is this true? Or, is it possible to programatically add a property(variable) to a custom object, initializing it as an array?

Thank you!

Michael Reynolds
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform