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

Home » Public Forums » archive » PRINT request for RSI
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
PRINT request for RSI [message #11164] Thu, 26 February 1998 00:00
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
Hi guys,

IDL is a great tool for string manipulation, and I
frequently use it to generate various files. However,
it is quite painful to have to invoke the PRINT
function for every line of output. I think it would
be extremely useful for IDL to have the capability
to use the unix shell or perl type of printing,
where one specifies to print until a certain label.
For example, in perl I can do

print << EOF;

print stuff
print more stuff

EOF

As far as I can tell, there is no way to do something
like this in IDL, is there? Maybe in IDL, something
like this could be implemented:

PRINT UNTIL LABEL

'x = ', x
'a string'

LABEL:

This, I think, would be a great feature.
On another topic, I would like to see some method
implemented for commenting out whole blocks of
code, rather than using ; on every line, or a
GOTO statement. I can't think of any reason offhand
what the C commenting contruct /* */ couldn't
be used. Anyway, just my $0.02 (for today :-)


-bob


--
Robert S. Mallozzi
University of Alabama
http://cspar.uah.edu/~mallozzir/
Edit email for reply
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: project_vol() in IDL
Next Topic: Speed Survey Needs You!

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

Current Time: Fri Oct 10 08:11:01 PDT 2025

Total time taken to generate the page: 0.71523 seconds