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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
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: Thu Oct 09 20:45:26 PDT 2025

Total time taken to generate the page: 2.07933 seconds