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

Home » Public Forums » archive » Re: How to determine if ENVI is loaded?
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: How to determine if ENVI is loaded? [message #78152] Tue, 25 October 2011 10:06
Robin Wilson is currently offline  Robin Wilson
Messages: 40
Registered: August 2010
Member
On 25/10/2011 17:54, Vincent Sarago wrote:
> An other way is to test if the ENVI procedure are set (compiled)
>
> test = routine_info(ENVI_SELECT)
>
Even better - that's just what I was looking for.

Cheers,

Robin
Re: How to determine if ENVI is loaded? [message #78153 is a reply to message #78152] Tue, 25 October 2011 09:54 Go to previous message
Vincent Sarago is currently offline  Vincent Sarago
Messages: 34
Registered: September 2011
Member
An other way is to test if the ENVI procedure are set (compiled)

test = routine_info(ENVI_SELECT)
Re: How to determine if ENVI is loaded? [message #78155 is a reply to message #78153] Tue, 25 October 2011 09:41 Go to previous message
Robin Wilson is currently offline  Robin Wilson
Messages: 40
Registered: August 2010
Member
On 25/10/2011 17:37, Vincent Sarago wrote:
> There is maybe a "true" solution but
>
> I know the IDL prompt value (!PROMPT) is equal to 'IDL> ' when only IDL is loaded and 'ENVI>' when ENVI is loaded ...
>
> I know that not official at all :-)
>

Not official, but it works! I'll build in an ELSE clause in case they
change it (not that they're likely to, but you never know).

Cheers,

Robin
Re: How to determine if ENVI is loaded? [message #78156 is a reply to message #78155] Tue, 25 October 2011 09:37 Go to previous message
Vincent Sarago is currently offline  Vincent Sarago
Messages: 34
Registered: September 2011
Member
There is maybe a "true" solution but

I know the IDL prompt value (!PROMPT) is equal to 'IDL> ' when only IDL is loaded and 'ENVI>' when ENVI is loaded ...

I know that not official at all :-)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help about IDL
Next Topic: Re: Help about IDL

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

Current Time: Wed Oct 08 11:42:31 PDT 2025

Total time taken to generate the page: 0.00707 seconds