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 #1777 is a reply to message #1772] Mon, 31 January 1994 08:00 Go to previous messageGo to previous message
offenbrg is currently offline  offenbrg
Messages: 31
Registered: August 1993
Member
sterne@dublin.llnl.gov (Philip Sterne) writes:

>>>> >> "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.

In IDL, and I think PV-WAVE as well, you can set the prompt to be whatever
you want. I can set my !PROMPT to be "WAVE> " just as easily as I could set
it to "IDL> ".

The simplest way I can come up with is to check the on-line help.
?call_external
should give you a littany about the call_external function in IDL and not much
of anything in PV-WAVE, and
?linknload
should do the reverse. (If you have both IDL and PV-WAVE running on the same
system, you might get both sets of help, although I don't think so.)

Joel

--
"...And I am unanimous in this" - Mrs. Slocumb
------------------------------------------------------------ ----------
| Joel D Offenberg | offenbrg@fondue.gsfc.nasa.gov |
| Hughes STX/ UIT Science Team | I get paid to stare into space. |
[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: Wed Oct 08 17:41:58 PDT 2025

Total time taken to generate the page: 0.00681 seconds