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

Home » Public Forums » archive » compiling procedures with keyword set
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
compiling procedures with keyword set [message #39691] Mon, 07 June 2004 07:46
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Hi all,

I have a widget program called 'sm_gui' which can be run in a special
mode by setting the keyword '/display_only' (some GUI elements are left
out in this mode). Now I want to compile the program in this special
mode for use with the IDL virtual machine. I tried to write a wrapper
program which reads

PRO sm_gui_display_only
sm_gui, /display_only
END

and did

IDL> .compile sm_gui_display_only
IDL> resolve_all
IDL> save, /routines, filename='sm_gui.sav'

However, if I run sm_gui.sav in the IDL virtual machine, the program
runs in "full mode". What's wrong?

What I did for now is to set the keyword variable to 1 by hand in the
code for the compilation and set it back afterwards. That's obviously
not the nicest solution. Any hints?

Thanks,
Benjamin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Surface Problem
Next Topic: Re: compiling procedures with keyword set

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

Current Time: Sat Oct 11 15:50:50 PDT 2025

Total time taken to generate the page: 1.36044 seconds