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

Home » Public Forums » archive » Directory separators
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Directory separators [message #23762] Tue, 13 February 2001 07:02
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Howdy,

I have been using the following function to select the appropriate OS
specific directory separator. I have two questions about it: (1) what
is the correct directory separator in VMS?, and (2) is there a built-in
means of getting the same information?

Thanks,

Ben

;------START
FUNCTION SYSSEP

Case StrLowCase(!Version.OS_Family) of
'unix': Return, '/'
'win': Return,'\'
'macos': Return,':'
'vms': Return, ''
Else: Return, ''
EndCase

End
;---------END

--
Ben Tupper
Bigelow Laboratory for Ocean Sciences
180 McKown Point Rd.
W. Boothbay Harbor, ME 04575
btupper@bigelow.org
[Message index]
 
Read Message
Previous Topic: Re: call_external: ld.so.1 relocation error
Next Topic: mkdir?

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

Current Time: Wed Oct 08 15:53:34 PDT 2025

Total time taken to generate the page: 0.00447 seconds