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

Home » Public Forums » archive » converting a string to an IDL command
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
converting a string to an IDL command [message #62397] Mon, 08 September 2008 09:46
astroboy2k is currently offline  astroboy2k
Messages: 34
Registered: July 2007
Member
Hello!

I find myself constantly doing things like:

print,' min(x), max(x) ',min(x),max(x)

Is is possible to do something along the lines of:

char=' min(x),max(x) '
some_function,char

where some_function would change char into one line of IDL code? That
is, if x=findgen(10)
sub_function would print something like:

min(x),max(x) ,0.000 ,9.000

Seems like this wouldn't be so hard. I'm interested in something that
would work with Unix.
Thanks,

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Create a GEOTiff image
Next Topic: Re: fit image to logarithmic color bar

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

Current Time: Wed Oct 08 15:36:57 PDT 2025

Total time taken to generate the page: 0.00470 seconds