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

Home » Public Forums » archive » Re: Name of Routine Escapes Me
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Name of Routine Escapes Me [message #36434] Thu, 18 September 2003 13:35
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.19d3bd7cbbf663d19896f1@news.frii.com...
> Folks,
>
> Oh, oh. Now in addition to forgetting people's names
> (even those I have known for years), I am forgetting
> the names of IDL routines. :-(
>
> There is a routine (I've seen it discussed here, in
> fact, I swore I would write an article about it so I
> could find it on my web page) that works like this.
> Given an array of values, and a target value, it tells
> you which index in the array (gosh, I even wrote a program
> using this, but which one!!!) contains a value closest to
> the target value.


I called mine WHERE_CLOSEST.

:)

-bob
Re: Name of Routine Escapes Me [message #36435 is a reply to message #36434] Thu, 18 September 2003 13:27 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <MPG.19d3bed9c874bbf49896f2@news.frii.com>,
David Fanning <david@dfanning.com> wrote:

> David Fanning writes:
>
>> Anyone younger have a clue as to what this routine was
>> called? You will be forever in my debt. :-)
>
> Oh, never mind. Just hitting the send key was enough
> to call it to mind, embarrassingly enough: VALUE_LOCATE.

VALUE_LOCATE gets my nomination for hardest IDL routine name to
remember. I suppose I should make a wrapper called SEARCH. ;-)

Ken Bowman
Re: Name of Routine Escapes Me [message #36436 is a reply to message #36435] Thu, 18 September 2003 13:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Anyone younger have a clue as to what this routine was
> called? You will be forever in my debt. :-)

Oh, never mind. Just hitting the send key was enough
to call it to mind, embarrassingly enough: VALUE_LOCATE.

Cheers,

David

P.S. Let's just say there are times when it's not about
programming prowess. It's about something... well..., else. :-(

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Name of Routine Escapes Me
Next Topic: Work with ENVI vector layers

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

Current Time: Wed Oct 08 13:49:13 PDT 2025

Total time taken to generate the page: 0.00591 seconds