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

Home » Public Forums » archive » undefined procedure problem
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: undefined procedure problem [message #16024 is a reply to message #15907] Tue, 22 June 1999 00:00 Go to previous message
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
In article <376AB0B8.5B494851@ucar.edu>,
Kristine Hensel <hensel@ucar.edu> wrote:
> Hi,
>
> I'm having trouble with IDL compiling a procedure and then telling me
> that the procedure is undefined:
>
> % Compiled module: COMMENT_EV.
> % XMANAGER: Caught unexpected error from client application. Message
> follows...

Hi Kristine,
I am not familiar enough with CW_FORM to help in that respect.
However, this is just an idea. I get the errors that you mention a lot
when I define in the first line of a program a file:

PRO program_file

and then I try using EVENT_FUNC = program_file

IDL looks for a function when it is actually defined as a procedure.
It usually drives me crazy because I see when I compile that the program
is there and compiling, and still when the program is called, it can't
find it.

Just checked CW_FORM and it expects a function. Is your event handler
defined with PRO or FUNCTION?

Rose


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cross-correlation of two images?
Next Topic: Re: keyboard events with WIDGET_DRAW

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

Current Time: Sat Oct 11 15:26:35 PDT 2025

Total time taken to generate the page: 1.03813 seconds