Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clear Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01220486
Message ID:
01220497
Vues:
15
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform