[Jprogramming] path separator

Tracy Harms kaleidic at gmail.com
Thu Dec 1 22:55:55 HKT 2011


I'm confused. To my knowledge hostpathsep is not part of J6. What am I
missing?

On Wed, Nov 30, 2011 at 9:29 PM, bill lam <bbill.lam at gmail.com> wrote:

> To ease writing codes intended for both J6 and J7, I changed jpathsep in J6
> to mean the same thing as in J7, ie. alwasys converting to '/',
> The verb hostpathsep is added to both J6 and J7, so that the following
> verbs
> should be available and identical in both version.
>
> NB.*hostpathsep v  converts path name to use host path separator
> NB.*jpathsep v     converts path name to use / separator
> NB.*winpathsep v   converts path name to use \ separator
>
> consequently, PATHSEP_j_ is hostpathsep '/'
>
> Please bug if the change of jpathsep in J6 will cause any regression.
>
>


More information about the Programming mailing list