- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
And now, a koan:
A master and his student sat in front of a computer. "Master" said the student, "I have created this object from Nothing. Does this show that all things are Nothing?"
The master typed some code and said "Now student, the object is as Nothing." The student understood.
- Mark
Admin
Huh? Why?
Admin
Ok, so I haven't touched VB, ever, and the last time I touched VC, MFCs were still 'a good idea'... but
If Not (ief) Then Set ief = New EVTLOGLib.EvtLogObj Set ietf = NOTHING EndIf
Or in any basic ternary operator capable language:
ietf = (!ietf) ? ((New EVTLOGLib.EvtLogObj) && NOTHING) : NOTHING;
No?