Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Como eliminar variaveis publicas?
Message
From
07/10/2002 22:32:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/10/2002 21:42:34
Cleber Ferrari
Capta Tecnologia
Brazil
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00708594
Message ID:
00708604
Views:
15
>Pessoal,
>
>Como eu poderia fazer para eliminar as variaveis publicas da minha aplicacao?

Pode liberar uma variavel com RELEASE.

Veja também CLOSE ALL e CLEAR ALL - que só devem ser usados no començo do programa principal.

Deve tentar de usar a menhor cuantidade possível de variaveis públicas dentro da sua aplicaçao - pode ser uma só variável pública como "application object" - todas as demais variaveis públicas podem ser reemplazadas por propiedades do objeto aplicaçao, o dos formulários individuais.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform