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

Home » Public Forums » archive » Re: Test for IDL vs PV-Wave
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: Test for IDL vs PV-Wave [message #26302] Fri, 17 August 2001 08:55
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
David, W., Fanning, "Ph.D." wrote:

> How about this:
>
> null = Obj_New()
>
> If the program crashes, it must be PV-Wave. :-)

Oh, how cruel!
Mr. Coyote, I am shocked.
P
Re: Test for IDL vs PV-Wave [message #26303 is a reply to message #26302] Fri, 17 August 2001 07:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Aaron Birenboim (aaron@boim.com) writes:

> I am trying to write some code that will run
> under both IDL and PV-Wave.
>
> I will need some if...then's for platform dependencies.
> What might be a good system variable to check to
> identify if the code is being used by IDL or PV-Wave?
>
> The code I'm working on is very simple, and these
> IF-Then's should be few and far between.

How about this:

null = Obj_New()

If the program crashes, it must be PV-Wave. :-)

Cheers,

David

---
David W. Fanning, Ph.D.
Fanning Software Consulting
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: Test for IDL vs PV-Wave
Next Topic: Re: mpeg movie problem solved

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

Current Time: Fri Oct 10 08:00:42 PDT 2025

Total time taken to generate the page: 1.02245 seconds