The LMGR function tests whether a particular licensing mode is in effect. Different licensing modes are specified by keyword. See the Keywords section below for a description of each licensing mode.

Syntax


Result = LMGR( [, /RUNTIME | , /VM])

Return Value


The function returns True (1) if the mode specified is in effect, or False (0) otherwise.

Arguments


None

Keywords


RUNTIME

Set this keyword to test whether the current IDL session is running in runtime mode. Runtime-mode applications do not provide access to the IDL Command Line.

Note: The IDL session running in runtime mode does not imply that a runtime license is in use. A session in runtime mode may be running in Virtual Machine mode, or may have checked out either a runtime or a full IDL license.

VM

Set this keyword to test whether the current IDL session is running in IDL Virtual Machine mode. IDL Virtual Machine applications do not provide access to the IDL Command Line. If the IDL session is running in Virtual Machine mode, no license is used even if one is available.

Version History


Pre 4.0

Introduced

6.0

Added VM keyword

7.03

Deprecated CLIENTSERVER keyword.

8.6

Deprecated DEMO, EMBEDDED, EXPIRE_DATE, FORCE_DEMO, INSTALL_NUM, LMHOSTID, SITE_NOTICE, STUDENT, and TRIAL keywords.