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

Home » Public Forums » archive » How do I get IDL to see that my procedure exists?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How do I get IDL to see that my procedure exists? [message #12690] Wed, 02 September 1998 00:00 Go to previous message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
I'm a relative newbie at IDL so please bear with me...

I wrote an IDL procedure to do what I want. I put it in a directory
called /usr/users/Bowler/idl and called it anyData.pro. The first line
of the file is

PRO anyData, file, inbounds

and it ends with an END. When I open the file in IDLDE and call it, it
works fine. Now I want to do from the IDL (rather than IDLDE) prompt,
so I do the following

IDL> !path = !path + ":/usr/users/Bowler/idl"
IDL> print, !path
{the path does, indeed, include my directory}
IDL> anyData, "data.xxx", inbounds

and it says

% Attempt to call undefined procedure/function: 'ANYDATA'.
% Execution halted at: $MAIN$

Why??? This is 5.0.2 on a Sparc 5 running Solaris 2.5.1.

--

Bruce Bowler, Research Associate 207.633.9600 (voice)
Bigelow Laboratory for Ocean Sciences 207.633.9641 (fax)
PO Box 475 BBowler@bigelow.org
(email)
West Boothbay Harbor ME 04575
http://www.bigelow.org/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: linked list example
Next Topic: Re: Widget Placement

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

Current Time: Fri Oct 10 09:39:13 PDT 2025

Total time taken to generate the page: 0.31776 seconds