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

Home » Public Forums » archive » Re: another IDL oddity
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: another IDL oddity [message #65171] Tue, 17 February 2009 08:12 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
Bringfried Stecklum wrote:

> from bash
>> echo my_procedure,'Hello.world'|idl

bash is eating the quotation marks, so IDL only sees the naked Hello.world
which generates an error if a variable named hello is undefined or not
a structure.

echo my_procedure,\'Hello.world\'|idl

should work.

> Any hints?

IDL seems to check parameters for procedure calls before compiling the
procedure. An undefined parameter is treated as a named variable and
simply handed on to the procudure, while the attempt to access an
undefined variable's structural tags throws an error immediately, since
there is no result that can be passed to the procedure.

Was that your question?


chl
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Reading multiple ASCII files in as 2d arrays and putting them into a 3d array
Next Topic: map: integerized sinusoidal

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

Current Time: Wed Oct 08 19:19:41 PDT 2025

Total time taken to generate the page: 0.00457 seconds