Aaaahhhhaaayyyahhhh! [message #42760] |
Fri, 25 February 2005 08:15  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
There are days (almost always when there are tight deadlines
on multiple projects) when you just don't need it!
I just spent five hours over two days (and woke up several
times last night thinking about it) chasing a most perplexing
bug, only to discover my favorite gotcha at the other end:
Memo to Self: Make DAMN sure what you pass to WHERE
is a scalar and not an array. ASSUME NOTHING!!!!
Who would have thought this:
name = OBJ_CLASS (classname, /Superclass)
would return a 1-element array!? Good thing I've lost
the key to the ammo case. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Aaaahhhhaaayyyahhhh! [message #42946 is a reply to message #42760] |
Sat, 26 February 2005 11:19  |
R.G.Stockwell
Messages: 163 Registered: October 2004
|
Senior Member |
|
|
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1c88fd00f5af7073989943@news.frii.com...
> Folks,
...
> Memo to Self: Make DAMN sure what you pass to WHERE
> is a scalar and not an array. ASSUME NOTHING!!!!
...
lol,
I've run into surprise arrays so often that I have been conditioned
to do things like
print,(reform(2+2))[0]
"Reimar Bauer" <R.Bauer@fz-juelich.de> wrote in message
news:cvpgdn$dd5v$1@zam602.zam.kfa-juelich.de...
> David,
> While watching the google archive I recognized you have about 9.480
> postings
> till now sent to this newsgroup. What did you do by reaching 10.000?
WOW!
I think we should have a grand celebration at the 10 k mark
How about everyone who has been helped by David's posts
over the years sends him a beer. That seems like a reasonable
suggestion, and to help out, I will be more than happy to collect these
beers on David's behalf.
Please send the beers to Bob Stockwell, Boulder, CO, USA
:)
Cheers,
bob
|
|
|