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
undefined procedure problem [message #15907] Fri, 18 June 1999 00:00 Go to previous message
Kristine Hensel is currently offline  Kristine Hensel
Messages: 26
Registered: June 1999
Junior Member
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$

I'm loathe to post my embarrassingly ugly (and long) code here unless I
really have to, but the problem arose when I tried to use cw_form for
the first time. I have "event=comment_ev" as a keyword to my buttons
and text in the cw_form description:

desc = [ $
'0, label, Data comments, font=helvetica*14',$
'1, base, , row',$
'1, base, ,frame, column',$
'0, label, E_x, font=helvetica*14, center',$
'0, button, no data | wandering baseline | rapid oscillations,$
font=helvetica*12, column, event=comment_ev, tag=ex_problem',$
'2, text, , font=helvetica*12, label_left=other:, width=10,$
event=comment_ev, tag=ex_other',$
'1, base, , row',$
'0, button, Save comments, font=helvetica*14, tag=save,
event=comment_ev']

comment_form = cw_form(comment_base, desc, /column)

The procedures manage_data and comment_ev are in the same file, along
with lots of other event-handling procedures that IDL has no trouble
finding.

Does anyone know of a less transparent meaning of the "undefined
procedure/function" error message? Alternatively, am I using the
"event=" keyword incorrectly in defining cw_form? There's no example of
its use in the manuals I have.

Thanks,
Kristine

--
Kristine Hensel Phone: (303) 497-1539
High Altitude Observatory/NCAR E-mail: hensel@ucar.edu
P.O. Box 3000 Office: FL2 3070
Boulder, CO 80307-3000
[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 14:30:18 PDT 2025

Total time taken to generate the page: 0.95965 seconds