I think that I understand what you mean, but for Windows all must be "\"
when passed to the operating system. Somewhere in the J system this has to
be done. I assume that when passing file names to DLLs in arguments it is
still up to us to make sure we are using the proper delimiter. And if we get
the file name from a J facility we must convert all "/" to "\" before
passing to a DLL.

On Mon, May 31, 2010 at 6:18 PM, Chris Burke <[email protected]> wrote:

> On Monday, May 31, 2010 09:53 PM, Henry Rich wrote:
> > Does this mean that filenames with '\' are not to be allowed on Windows?
> >   (I hope not - it would be a sweeping change - and it seems easy to
> > accept either '/' or '\' and make the appropriate translation)
>
> You can use either / or \ in your path names. However, the idea is that
> the J system and system scripts will internally use only / , and will
> convert arguments accordingly. This is much like the line separator -
> the system uses LF, but writes out Windows scripts using CRLF.
>
> You can see this in the J7 beta, for example:
>
>   >{:"1 UserFolders_j_
> c:/j7w/user/projects
> c:/j7w/base/ide
> c:/j7w/base/main
> ...
> ----------------------------------------------------------------------
> 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