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

Home » Public Forums » archive » IDL purists
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL purists [message #12247] Sat, 25 July 1998 00:00
Kevin Ivory is currently offline  Kevin Ivory
Messages: 71
Registered: January 1997
Member
mirko wrote:
> this will not help you at all, but I found this little trick somewhere
> recently. If you are going to use STRTRIM, no need for STRING.
> Sure simplifies code writing although some purists would claim that
> it confuses the meaning of the code (I am sometimes in that camp).

Omitting a conversion command does not necessarily confuse the meaning
of code. STRTRIM is a command that always operates on strings. Even the
official documentation says, "If this argument is not a string, it is
converted using IDL's default formatting rules."
So, an "IDL purist" might as well argue to omit a redundant conversion
command ;-)

Best regards
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/
[Message index]
 
Read Message
Previous Topic: Re: IDL in 32 bpp ?
Next Topic: Object Class in Picturesque Albuquerque

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

Current Time: Sat Oct 11 13:12:24 PDT 2025

Total time taken to generate the page: 1.60205 seconds