[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting IDLDE or runtime

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.


Reimar Bauer 

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
a IDL library at ForschungsZentrum Jülich