Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The creature that won't die
Message
De
26/03/2010 08:47:15
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
25/03/2010 11:48:23
Information générale
Forum:
Visual FoxPro
Catégorie:
VFP Compiler for .NET
Divers
Thread ID:
01456123
Message ID:
01457411
Vues:
80
>>And what's unsafe in it?
>
>
>(1) You're not checking that toObj is actually an object
>(2) You assume you can access it's BASECLASS' property (the empty object doesn't have that property)

True, but then the context is "I am traversing a form for any timers it may have", so there can't be any non-objects or scatter name objects in any container's .controls collection. IOW, I didn't need to write any defenses into this. It's just a little timer killer for debugging purposes.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform