Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Release An Object
Message
 
 
To
08/10/1998 19:53:07
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00145291
Message ID:
00145336
Views:
25
Dave,

If you run the code JimB posted as a .prg when it's done there won't be an oX left if you do a DISPLAY MEMORY. Because it'll be a private memvar for that routine. Usually in VFP you'd declare it LOCAL if it was only to be seen by that chunk of code.

If you type those line in the command window there will be a public oX left over at the end because of the way the command window works.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform