| sec : U Re: checking for Demo mode [message #34972] |
Tue, 06 May 2003 17:57 |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
Brent Griffith wrote:
>
> 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.
>
> brent
Brent,
RSI's demo_mode function is older than David's LMGR(/DEMO) methinks,
and should work over a wider range of IDL versions.
IDL > print,demo_mode()
0
Cheers,
Andrew
------------------------------------------------------------ -----------------
Andrew D. Cool
Electromagnetics & Propagation Group
Intelligence, Surveillance & Reconnaissance Division
PO Box 1500, Edinburgh
South Australia 5111
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ -----------------
|
|
|
|