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

Home » Public Forums » archive » Re: How to tell if I'm running IDL or PV-WAVE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to tell if I'm running IDL or PV-WAVE [message #1778 is a reply to message #1772] Sun, 30 January 1994 17:36 Go to previous messageGo to previous message
sterne is currently offline  sterne
Messages: 15
Registered: March 1992
Junior Member
>>>> > "mark" == mark rivers <rivers@bnlux1.bnl.gov> writes:

mark> Is there a way to find out from within a procedure whether one is
mark> running PV-WAVE or IDL? I need to call LINKNLOAD if I am running
mark> PV-WAVE or CALL_EXTERNAL if I am running IDL. The !version system
mark> variable doesn't seem to have this information.

How about looking at the variable !PROMPT ?

In Wave, it is "WAVE> ", and in IDL I think it is "IDL> ". This
variable can be overridden by the user, but as long as you stick with
the defaults, this would appear to be a way of telling them apart.

Phil
--
------------------------------------------------------------ ---------
Philip Sterne | sterne@dublin.llnl.gov
Lawrence Livermore National Laboratory | Phone (510) 422-2510
Livermore, CA 94550 | Fax (510) 422-7300
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mixing PS fonts in PV-WAVE\
Next Topic: multiple selections from a list

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

Current Time: Fri Oct 10 07:35:25 PDT 2025

Total time taken to generate the page: 0.63934 seconds