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

Re: Path handling in different OSs??



Markus Feldt wrote:
> 
> Hi out there,
> 
>   did anybody bother to write some helpers for handling pathnames under
> different OSs in IDL (something like "path_to_os") or so?  Something
> that replaces "/" bei "\" or ":" and appends ":" under MAC if needed? Or
> is there some implemented function in idl which allows accessing
> directory structures under differing OSs?  Just asking,  if not,  I'll
> write it myself...
> 
>    Thanks
> 
>            Markus
> 

Take a look at the built-in FILEPATH function. And since it's source
code is
available ...

Cheers,
Martin

-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@dkrz.de                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[