[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detecting IDLDE or runtime
- Subject: Re: Detecting IDLDE or runtime
- From: Reimar Bauer <r.bauer(at)fz-juelich.de>
- Date: Tue, 27 Mar 2001 13:24:09 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Forschungszentrum Juelich GmbH
- References: <99pkcb$8hu$1@trog.dera.gov.uk>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24166
Oliver Smith wrote:
>
> 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?
Use lmgr(/runtime)
The online help says:
The LMGR function tests whether a particular licensing mode is in
effect. The function returns True (1) if the mode specified is in
effect, or False (0) otherwise. Different licensing modes are specified
by keyword; see the "Keywords" section below for a description of each
licensing mode.
The LMGR function can also force IDL into time demo mode or report the
LMHostid number for the machine in use.
For more information on IDL's licensing methods, consult the IDL License
Management Guide, which is included in Adobe Acrobat Portable Document
Format on your IDL CD-ROM.
regards
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
=============================================
a IDL library at ForschungsZentrum Jülich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.html
http://www.fz-juelich.de/zb/text/publikation/juel3786.html