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

Home » Public Forums » archive » Re: function/procedure not found??
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: function/procedure not found?? [message #71853] Thu, 22 July 2010 18:19
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
Thanks David, the problem was even simpler; a typo in the function
name (but not the file name)!

Sorry about that, check the simple things first!
Re: function/procedure not found?? [message #71854 is a reply to message #71853] Thu, 22 July 2010 18:06 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matt Francis writes:

> I'm getting a strange error to do with compiling and paths (I'm still
> getting my head around how IDL deals with this). See the following
> command and error messages. I'm running this on a UNIX system.
>
> IDL> print,gnss_get_utc_date()
> % Compiled module: GNSS_GET_UTC_DATE.
> % Attempt to call undefined procedure/function: 'GNSS_GET_UTC_DATE'.
> % Execution halted at: $MAIN$
>
> I had added the directory of the function gnss_get_utc_date.pro into
> the !PATH variable by the command
>
> !Path = !Path + ':<path to the function>'
>
> and as you can see, IDL does find this function and happily compiles
> it, then turns around and says it can't be found?? Can anyone suggest
> what might be going wrong here?

You could get this kind of error if you wrote the module
as a function and tried to call it as a procedure, or visa
versa.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: function/procedure not found??
Next Topic: Re: out of memory using idldoc 3.2.0

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

Current Time: Wed Oct 08 13:39:37 PDT 2025

Total time taken to generate the page: 0.00475 seconds