Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error event does no return to master
Message
De
10/01/2013 16:34:47
 
 
À
10/01/2013 02:47:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01561811
Message ID:
01562069
Vues:
49
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform