Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear Class
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01220486
Message ID:
01220497
Views:
20
>>Glenn,
>>
>>Take a look at the help for AVCXCLASSES function
>
>How does it help to determine if the class is still in memory?

It does not tell you if they are allocated or not, but if you know your class libraries, you can do something like
local laClasses(1), lnAlen, lnCount

lnAlen = avcxclasses(laClasses, '<Your Library>')

for lnCount = 1 to lnAlen
	clear class (laClasses[lnCount, 1])
endfor
Or something like that. We use something like this, and I do not remember the reason why we do not use clear classlib, but there was one IIRC (Or it is old code, that is another possibility, who knows? <g>)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform