IDL

LMGR

LMGR

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.

The LMGR function can also report the LMHostid number for the machine in use.

Example


Use the following commands to generate the LMHostid number for the machine in use:

Result = LMGR(LMHOSTID = myId)
PRINT, "LMHostid for this machine is: ", myId

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.

 


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2017 Exelis Visual Information Solutions, Inc.