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

Home » Public Forums » archive » Re: converting a string to an IDL command
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: converting a string to an IDL command [message #62383 is a reply to message #62381] Mon, 08 September 2008 12:13 Go to previous messageGo to previous message
astroboy2k is currently offline  astroboy2k
Messages: 34
Registered: July 2007
Member
Actually, I have a related question, for which if it's obvious I
apologize in advance.

Not sure how to put this precisely, but....

Let's say I have an array called "happydays".

I'd like to make a function that would take the string 'happydays',
and say, return the min and max of the array with that name:

out=some_function('happydays')
where out is the string:

'The max and min of HAPPYDAYS is 0 and 15"


Just as well, would be something like:

out=some_function(happydays)
and out is the same string as above.

In other words, I guess what I'm asking is, is there a way to find
the original name of a variable that was passed to a sub-program or a
function....

Thanks in advance,

Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: map plotting
Next Topic: Re: inverse the axis

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

Current Time: Sat Oct 11 03:59:52 PDT 2025

Total time taken to generate the page: 1.36003 seconds