>Nadya-
>
>> > think your point here and a benchmark test I just ran has convinced me to finally give up my superstition about PEMSTATUS. I got burned by its infamous dangling object reference bug :-(.
>
>>Could you please explain about this bug in detail? I added PEMSTATUS function in one of my class and now after form is closed and I try to modify this class, I get "Class is in use" message. Could it be related?
>
>There was (is?) a bug when using PEMSTATUS in a compound conditional. The solution was to put multiple conditions into separate conditions in separate IFs if they were needed.
>
>Your class in use wouldn't be related, I think. Rather you need to clear the classlib. I generally just do a CLEAR ALL.
I now have to do it too. This is only one particular class, and this problem appeared only today. I added another class in the library, I made other changes as well, but I don't understand, what may cause it.
BTW, may these lines cause troubles?
IF pemstatus(thisform,'hasnavstand',5) and thisform.hasnavstand
thisform.navstand.navupdate()
ENDIF
BTW, clear classlib addrstd.vcx in command window didn't help and clear class too. Only clear all does. I was thinking about clearing in a form, but since none of the command worked, I should leave it :(
If it's not broken, fix it until it is.
My Blog