Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The creature that won't die
Message
From
26/03/2010 08:47:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
25/03/2010 11:48:23
General information
Forum:
Visual FoxPro
Category:
VFP Compiler for .NET
Miscellaneous
Thread ID:
01456123
Message ID:
01457411
Views:
79
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform