>>>That may be the case in your example, but after releasing a form - loForm.release() - the object variable will still be an object variable. However, it will be a NULL.
>>
>>I see...
>
>vartype(obj) returns 'X' if obj is null. Your test is OK
loO = createobject( 'form')
? vartype(loO)
O
? type('loO')
O
? isnull(loO)
.F.
loO.release()
? vartype(loO)
X
? type('loO')
O
? isnull(loO)
.T.
I guess my way of assuring it's a fullblown object stems from the years that VARTYPE() wasn't around and we had to use TYPE(). Good to know. I'll simplify my tests in future coding.
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.