Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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/