On Tue, 5 Feb 2008, David Berry wrote:
> On 05/02/2008, Malcolm J. Currie <[log in to unmask]> wrote:
>> Do we have a routine that returns the path delimiter to separate
>> directories for the current OS, or something that given a path will
>> supply (perhaps amongst others) just the filemname? I thought there was
>> something, but perhaps I was thinking of HDS_TRACE. If not, then I'll
>> have to continue to assume UNIX-style paths. So far I've looked at PSX
>> and ONE.
>
> Don't know of anything. NDG assumes UNIX-style paths.
>
Unfortunately, during the switch from VMS to Unix all the new software
seems to have hardwired unix style paths and VMS disappeared. I think HDS
still has vms-path-isms in the VMS ifdef.
We need the equivalnet of
% perldoc File::Spec
for C.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|