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

Home » Public Forums » archive » Re: routine_info does not work with functions
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 does not work with functions [message #34404] Sat, 08 March 2003 06:25
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Craig Markwardt wrote:

> Reimar Bauer <R.Bauer@fz-juelich.de> writes:
>
>> Hi,
>>
>> I am a bit surprised about a failure in ROUTINE_INFO. It does not work
>> with functions.
>>
>> Same failure in idl5.6 and idl5.5.
>>
>> IDL5.4 works!
>
> I don't know what platform you are on, but this most definitely did
> not work even in IDL 5.4:
>
> IDL> print, !version
> { x86 linux unix 5.4 Sep 25 2000 32 32}
> IDL> .comp str_sep
> % Compiled module: STR_SEP.
> IDL> print, routine_info('str_sep', /source)
> % Attempt to call undefined procedure/function: 'STR_SEP'.
> % Execution halted at: $MAIN$
>
> The FUNCTIONS keywords to ROUTINE_INFO() has been around for a long
> time, at least since IDL 5.0. The above statement does not work in
> IDL 5.0-5.6.
>
> Craig
>


Dear Craig,

today I have the same result as you in 5.4.1
but I can't believe this at the moment it's a miracle.

Reimar



--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
Re: routine_info does not work with functions [message #34409 is a reply to message #34404] Fri, 07 March 2003 08:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Reimar Bauer <R.Bauer@fz-juelich.de> writes:

> Hi,
>
> I am a bit surprised about a failure in ROUTINE_INFO. It does not work
> with functions.
>
> Same failure in idl5.6 and idl5.5.
>
> IDL5.4 works!

I don't know what platform you are on, but this most definitely did
not work even in IDL 5.4:

IDL> print, !version
{ x86 linux unix 5.4 Sep 25 2000 32 32}
IDL> .comp str_sep
% Compiled module: STR_SEP.
IDL> print, routine_info('str_sep', /source)
% Attempt to call undefined procedure/function: 'STR_SEP'.
% Execution halted at: $MAIN$

The FUNCTIONS keywords to ROUTINE_INFO() has been around for a long
time, at least since IDL 5.0. The above statement does not work in
IDL 5.0-5.6.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: routine_info does not work with functions [message #34411 is a reply to message #34409] Fri, 07 March 2003 00:19 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Reimar Bauer wrote:
> Hi,
>
> I am a bit surprised about a failure in ROUTINE_INFO. It does not work
> with functions.
>
> Same failure in idl5.6 and idl5.5.
>
> IDL5.4 works!
>
>
> IDL> .r str_sep ( I know it's obsolete, but for example it is good)
> % Compiled module: STR_SEP.
>
>
>
> result=ROUTINE_INFO('str_sep',/source)
>
> % Attempt to call undefined procedure/function: 'STR_SEP'.
> % Execution halted at: $MAIN$
>
>
> Please can you compare my results on differnt platforms.
>
> ** Structure !VERSION, 8 tags, length=76, data length=76:
> ARCH STRING 'x86'
> OS STRING 'linux'
> OS_FAMILY STRING 'unix'
> OS_NAME STRING 'linux'
> RELEASE STRING '5.6'
> BUILD_DATE STRING 'Oct 26 2002'
> MEMORY_BITS INT 32
> FILE_OFFSET_BITS
> INT 64
>
>
>
> Reimar
>

my fault, there was a change they added a new keyword FUNCTIONS !

Reimar













--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Error compiling procedure already compiled
Next Topic: HRIT

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

Current Time: Wed Oct 08 18:41:24 PDT 2025

Total time taken to generate the page: 0.00583 seconds