Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scoping of Variables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00011488
Message ID:
00011589
Vues:
36
>>Hi guys, can anybody explain me how the scope of
>>variables works in Visual Foxpro. I need to
>>pass by reference variables to a form, so I can
>>change inside the form the values of the original
>>variables and keep that value, in the old days, that
>>is in Foxpro 2.6, everything that was declared in the
>>"setup" section of my screen was recognized in all
>>the functions of my "cleanup" section, now I know
>>that I have to put my parameters statements in the
>>"Init" method of my form, but after that it doesn't
>>recognize those vaiables in any other method or procedure and I don't want to create new properties
>>just to do that, because sometimes I need to do it with too many variables and I don't want to make those variables "public".
>>Thanks in advance.
>>luisg@netrunner.net
>
>i usually add properties to my form and store the parameters i've passed in them. also, when creating an object w/ createobject, these properties are available until releasing the object.

Thanks for your help guys :), I think I'm going to need to do that.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform