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

Home » Public Forums » archive » Detecting IDLDE or runtime
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
Detecting IDLDE or runtime [message #24346] Tue, 27 March 2001 00:51
Oliver Smith is currently offline  Oliver Smith
Messages: 11
Registered: March 2000
Junior Member
Hi,

The short question:
Is there a way to detect if an IDL program is running in the development
environment, or as a run-time .sav file?

The !version system variable shows no differenece between IDLDE and runtime.


The reason:
I've written a fairly extensive project in IDL that will shortly be shipped
to colleagues. I'd like them to have the option of using the runtime
version saved as, 'CUSTARD.sav'. My program has the ability to detect user
written plugins named 'plugin*.pro' located in an appropriate directory. The
program searches for these files, then compiles and runs one using
CALL_PROCEDURE.

All works fine if the project is built and run in the IDL development
environment, however, if the runtime version is used then, not surprisingly,
CALL_PROCEDURE doesn't work (unless the particular plugin was included in
the project at build time). I don't have a problem with this functionality
of IDL, and I have a work around that includes a list of available plugins
included in the save file at build time. The problem is detecting whether
the software should look at this list, or search for additional plugins and
try to use call_procedure.

Cheers,

Oliver

Radio Science And Propagation Group, DERA Malvern
http://rasp.dera.gov.uk
osmith@dera.gov.uk

--
The views expressed above are entirely those of the writer and do not
represent the views, policy or understanding of any other person or
official body.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: sec : u Re: Widget Fonts
Next Topic: Re: Detecting IDLDE or runtime

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

Current Time: Wed Oct 08 18:13:49 PDT 2025

Total time taken to generate the page: 0.00579 seconds