> From: Chris Burke
> On Monday, May 31, 2010 02:57 PM, Sherlock, Ric wrote:
> >> From: Chris Burke
> > The change to standardize on '/' as a path separator across all
> platforms is nice, but makes it cumbersome to support both J6 & J7,
> particularly since the J7 Engine still gives paths with '\' separators
> for a number of Foreign Conjunctions on Windows (e.g. 1!:43, 1!:46,
> 4!:3). Would it be possible/sensible to change the J7 Engine output to
> also be standardized on '/'?
>
> Can we enumerate what needs changing? I have:
>
> 1!:20
> 1!:43
> 1!:46
> 4!:3
> BINPATH
>
> Any others?
Apart from 0{ARGV as Bill suggests, that seems to be all.
> For each, in Windows use lower case and / separator.
I agree with Alex that it would be best to leave case as reported by the
operating system.
To help facilitate compatibility between J6 & J7 a verb common to both
distributions is required that will force the path separator in a string to the
version standard. Currently there is jhostpath in J6 and jpathsep in J7. The
verb jpath is in both versions and works, but does a bunch of other things as
well that might not be desired in all situations.
One solution would be to add jpathsep to the base library for J6 as a cover for
jhostpath?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm