[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Directory separators



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