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

Home » Public Forums » archive » Re: 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 #15905 is a reply to message #15904] Fri, 18 June 1999 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Kristine Hensel 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...
> % Attempt to call undefined procedure/function: 'COMMENT_EV'.
> % Execution halted at: XMANAGER_EVLOOP_STANDARD 471
> /opt/share/idl/lib/xmanager.pro
> % XMANAGER 699
> /opt/share/idl/lib/xmanager.pro
> % MANAGE_DATA 241
> /home/hensel/idl/mylib/manage_data.pro
> % $MAIN$
> [...]

> Thanks,
> Kristine
>

maybe I am the wrong one to answer (because I am not that much into
widgets), but perhaps the following tips can help:
(1) try a call to resolve_routine,'comment_ev' before you call cw_form.
That should ensure it gets compiled before cw_form is registered with
xmanager.
(2) try to put comment_ev in a seperate file with that name and make
sure it is in the IDL !PATH.
(3) if (2) works, my suspicion would be that comment_ev is embedded in a
file after the routine that bears the name of the file. That's always
dangerous.



Good luck,
Martin.



--

|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: help on color tables
Next Topic: Re: axis label fontsize vs. tick label size

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

Current Time: Sat Oct 11 17:25:26 PDT 2025

Total time taken to generate the page: 1.44087 seconds