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

Home » Public Forums » archive » Re: checking for Demo mode
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
Re: checking for Demo mode [message #34996] Tue, 06 May 2003 08:47
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brent Griffith (Brent_griffith@nrel.gov) writes:

> Is there a way to determine if IDL is running in Demonstration mode?
> I recently found out that modifyct crashes my application in
> demonstration mode and would like to trap it.

Use the LMGR function:

IF LMGR(/demo) THEN Print, 'Running in demo mode'

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: checking for Demo mode
Next Topic: Re: Software Configuration Management

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

Current Time: Wed Oct 08 19:18:09 PDT 2025

Total time taken to generate the page: 0.00526 seconds