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

Home » Public Forums » archive » Re: IDL Astronomy Library: Some procedures doesn't work?
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: IDL Astronomy Library: Some procedures doesn't work? [message #82513] Wed, 19 December 2012 10:05 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Wednesday, December 19, 2012 8:50:47 AM UTC-5, BlueSky wrote:

> IDL> psf_gaussian
> % Compiled module: PSF_GAUSSIAN.
> % Attempt to call undefined procedure/function: 'PSF_GAUSSIAN'.
> % Execution halted at: $MAIN$

For a long time I've felt that IDL gives a very confusing error message here. One sees the function compiled successfully, and then an immediate error message of "undefined procedure/function". I realize that one can have two distinct modules with the same name -- one a procedure and one a function. But it would be nice if the compilation message could say whether a procedure or function was compiled, e.g.

% Compiled function: PSF_GAUSSIAN.

and if the error message said whether it was a procedure or function call, e.g.

> % Attempt to call undefined procedure: 'PSF_GAUSSIAN'.

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: compare 2-d array with vector
Next Topic: IDL Astronomy Library: Some procedures doesn't work?

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

Current Time: Fri Oct 10 06:58:53 PDT 2025

Total time taken to generate the page: 0.87956 seconds