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

Home » Public Forums » archive » Re: UNIX v. Windows Filepaths
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: UNIX v. Windows Filepaths [message #35733] Thu, 10 July 2003 14:12 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Mark Hadfield wrote:
>
> "Paul van Delst" <paul.vandelst@noaa.gov> wrote in message
> news:3F0D9297.45974B4B@noaa.gov...
>> Wot about summat like:
>>
>> CASE STRUPCASE( !VERSION.OS_FAMILY ) OF
>> 'WINDOWS': DirSeparator = '\'
>> 'MAC': DirSeparator = whatever the Mac directory separator is
>> ELSE DirSeparator = '/' ; Default to Unix
>> ENDCASE
>>
>> CD_Dir = '..'+DirSeparator+'source'
>> CD, CD_Dir, current=currdir
>
> Function PATH_SEP in the standard library returns the appropriate path
> delimiter for the current platform.
>
> Only since 5.5 though.

Well there ya go. I should actually read the "What New in IDL X.X" documents.....

:o)

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
Ph: (301)763-8000 x7748
Fax:(301)763-8545
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: User Functions for ENVI
Next Topic: IDL 6.0 Seminar Series

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

Current Time: Thu Oct 09 23:46:29 PDT 2025

Total time taken to generate the page: 0.56038 seconds