comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Question about user input in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Question about user input in IDL [message #67317 is a reply to message #67178] Fri, 10 July 2009 12:28 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Joanna writes:

> Hi, thanks for the response...I actually figured out a way to make it
> work using an if loop. I just said if x eq 'alpha' then a=alpha, and
> then stuck that a into the function I was actually using on the data
> and it worked. Thanks again!

Well, then, here is one of your first programming lessons: There
are typically *many* ways to do the job in software. The
only trick is to learn how to be either as elegant or
as efficient (depends on your personality) as possible.
It takes a while. Try to pick good mentors. :-)

Cheers,

David

P.S. To determine if you tend toward "elegance"
or "efficiency", try watching a replay of the 2008
Wimbledon tennis final and see if you find yourself
rooting for Federer or Nadal. That should give you
a pretty good clue.

--
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.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Are user-defined private methods possible?
Next Topic: findgen anomaly?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 11:27:40 PDT 2025

Total time taken to generate the page: 1.12299 seconds