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

Home » Public Forums » archive » Re: Routine_info bug in 5.2
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Routine_info bug in 5.2 [message #13983] Thu, 14 January 1999 00:00
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Stein Vidar Hagfors Haugan wrote:

> There appears to be a glitch in the handling of non-existing
> routine calls. Try the following:
>
> IDL> doesnt_exist
> % Attempt to call undefined procedure/function: 'DOESNT_EXIST'.
> IDL> print,routine_info()
> $MAIN$ ..... DOESNT_EXIST .....
>
> This is causing a bit of a headache in some of my routines
> which attempt to write and compile routines on the fly. To
> speed things up, the routines will skip the process if the
> routine is already compiled (showing up in the routine_info()
> list).

RESOLVE_ALL is also confused by this behaviour:

IDL> doesnt_exist
% Attempt to call undefined procedure/function: 'DOESNT_EXIST'.
% Execution halted at: $MAIN$
IDL> resolve_all
% Compiled module: RESOLVE_ALL.
% Attempt to call undefined procedure/function: 'DOESNT_EXIST'.
% Error occurred at: RESOLVE_ALL_BODY 100
/opt/server/idl5.1/idl_5.1/lib/resolve_all.pro
% RESOLVE_ALL 156
/opt/server/idl5.1/idl_5.1/lib/resolve_all.pro
% $MAIN$
% Execution halted at: $MAIN$


Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Slicer3
Next Topic: Re: Mode????

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

Current Time: Fri Oct 10 13:47:21 PDT 2025

Total time taken to generate the page: 0.87982 seconds