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

Home » Public Forums » archive » Re: cannot run .sav file
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: cannot run .sav file [message #17500 is a reply to message #17498] Wed, 20 October 1999 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
lsyrkin@yahoo.com wrote:

> Hi,
>
> I need to save a widget program as .sav file to make it run on the same UNIX
> machine from cmdtool and on another one under run-time IDL licence. This
> program works fine if I start it from IDLDE. To save the program I do the
> next:
>
> 1. Open IDLDE.
> 2. Open a program XeIm.pro that is used by main widget program DisplXe.pro.
> 3. Open DisplXe.pro.
> 4. Compile All.
> 5. Save, /Routines, Filename='Xe.sav'
> 6. Close IDLDE.
> 7. Change mode for Xe.sav for execute.
> 8. Start Xe.sav from UNIX prompt.

You missed resolve_all.

Note RESOLVE_ALL does not resolve procedures or functions that are called via
CALL_PROCEDURE, CALL_FUNCTION, or EXECUTE. Class methods are not resolved either.

Similarly, RESOLVE_ALL does not resolve widget event handler procedures based on
a call to the widget routine that uses the event handler. In general, it is best
to include the event handling routine in the same program file as the widget
creation routine�building widget programs in this way ensures that RESOLVE_ALL
will "catch" the event handler for a widget application.

You should run once the widget and normally you should have defined all your
event_handlers in the routine where you defined your widget.

R.Bauer
[Message index]
 
Read Message
Read Message
Previous Topic: SAVE/RESTORE question
Next Topic: callable IDL error handling

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

Current Time: Sun Oct 12 13:10:57 PDT 2025

Total time taken to generate the page: 1.83970 seconds