PRINT request for RSI [message #11164] |
Thu, 26 February 1998 00:00 |
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
|
|
|