> But just sometimes for a cross-platform release you have to deal with
backslashes. Notably when working with 4!:3 .

Just use jpathsep on any foreign that returns backslash on Windows, e.g.

   jpathsep each 4!:3''

No need then to check IFWIN.

On Sun, Apr 28, 2019 at 9:01 AM Ian Clark <[email protected]> wrote:

> That's what I do, Robert. But just sometimes for a cross-platform release
> you have to deal with backslashes. Notably when working with 4!:3 .
>
> I'm hoping to hear from someone using J on a (non Win) platform that does
> not use '/'. Otherwise I shall carry on assuming the IFWIN_z_ flag is the
> only one I have to inspect.
>
> BTW: am I right that if any of IFWINCE IFWINE  IFWOW64 is 1 then IFWIN=1
> too?
>
> On Sun, 28 Apr 2019 at 07:40, 'Robert Raschke' via Programming <
> [email protected]> wrote:
>
> > Hi Ian,
> >
> > it has been quite a while since I've actively used Windows. But I've been
> > under the impression that backslashes were only needed in the "shell".
> > Whenever I was programming in C or Lua or J, I always used forward
> slashes
> > as the directory delimiter on Windows and everything worked correctly.
> > Maybe give that a try?
> >
> > Cheers,
> > Robby
> >
> >
> >
> > On Sun, 28 Apr 2019 02:11 Ian Clark, <[email protected]> wrote:
> >
> > > Is MS Windows the only present-day platform that does *not* use slash
> (/)
> > > as a path separator for accessing files?
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to