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

Home » Public Forums » archive » Re: Device independent plotting
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: Device independent plotting [message #70791 is a reply to message #70790] Wed, 05 May 2010 07:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Karen writes:

> To make my code truly platform independent I would like to check what
> platform I am running on at the start so then I can load the right
> paths to my files, rather than having to change them by hand every
> time I swap machine. Is there a command that will tell me whether I am
> on Mac or PC from within IDL? Sure there's an easy way but I can't
> find it on the web.

You are looking for !Version.OS_Family.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Creating a new image from an image input in IDL
Next Topic: Fourier Fitting Data in PV-Wave

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

Current Time: Fri Oct 10 02:18:19 PDT 2025

Total time taken to generate the page: 1.04082 seconds