crazy question [message #65382] |
Mon, 02 March 2009 13:01  |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Is it possible to do something like that?
ex='KEYWORD_NAME'
aa=OBJ_NEW('AN_OBJECT')
aa->SetProperty, ex=5
I know this is imposible but maybe there is way to use strings (as a
keywords) to set values.
|
|
|
Re: crazy question [message #65462 is a reply to message #65382] |
Tue, 03 March 2009 07:54  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
David Fanning wrote:
> llo writes:
>
>> David, today you'll learn another thing about IDL.
>
> Nearly every day! If that didn't happen, I would have
> dumped IDL a *long* time ago. :-)
>
> Cheers,
>
> David
>
> P.S. I hadn't really appreciated until just a moment ago
> how much a software relationship is like a marriage. Maybe
> my R infatuation is just like that new player at the club
> with the wonderful, uh, backhand. Exciting to think about,
> but probably not as durable as the ever changing one I've got. ;-)
Well, then, you need to try ruby. I started using it a couple years ago to properly grok
object-oriented programming. The "I've got a new girlfriend" infatuation period has passed
and the real work has begun... I wouldn't call it a marriage just yet, but the invites for
the engagement party have been ordered. :o)
ruby is just oh so much fun to use. (Among other things, I use it to write my boilerplate
Fortran95/2003 and IDL code for me)
Anyway.....
cheers,
paulv
|
|
|
Re: crazy question [message #65463 is a reply to message #65382] |
Tue, 03 March 2009 06:21  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
llo writes:
> David, today you'll learn another thing about IDL.
Nearly every day! If that didn't happen, I would have
dumped IDL a *long* time ago. :-)
Cheers,
David
P.S. I hadn't really appreciated until just a moment ago
how much a software relationship is like a marriage. Maybe
my R infatuation is just like that new player at the club
with the wonderful, uh, backhand. Exciting to think about,
but probably not as durable as the ever changing one I've got. ;-)
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|