I'll try to be as explicit as possible. I wrote a script for a sudoku solver and I keep track of grids to be solved. So I put all the data in a subdirectory called 'grilles'. To distribute my package I zipped the J stuff ( J.exe dll shortcut etc ) including the subdir 'grilles'. I mailed that to a friend who unzipped the package in something like 'c:\mes jeux'. Everything run fine except when he wants to access a grid stored in the subdir 'grilles'. In the script I use jpath to read or write to the subdir 'grilles' but I obtain only 'c:\mes' and consequently can't access those files. If we rename the 'c:\mes jeux' to c:\mesjeux' everything is fine... Hope that helps. JC Coez
> Message du 26/02/06 00:35 > De : "Chris Burke" > A : "Programming forum" > Copie à : > Objet : Re: [Jprogramming] Jpath bug ? > > Jean Claude COEZ wrote: > > Chris Burke wrote: > > JCCoez wrote: > > > >>When the path contains un space, jpath returns only the string up to the > >>first space. I am using J504 on Windows Xp. Am I missing something ? > >>JCC > > > > > > What exactly is the problem? The jpath verb does not seem to treat > > spaces specially, for example: > > > > jpath 'abc def' > > abc def > > > > jpath '~system/abc def' > > /home/chris/j601/system/abc def > > ------------------------------------------------ > > > > I re-ask the same question and precise that the names of directories could > > be 'ho me' or 'chr is' > > with an extra blank. In that case, the J package was installed in a > > directory having space > > in its name. I know this is not a good usage but it may happen. > > Please give an explicit example of the problem you are having, so that > we can reproduce it. Something simple like: load J, enter sentence X, > get result Y, expect result Z. > > The J system supports directories with blanks in the name. Any problems > in this area will be fixed. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > --------------------------------------------------------------------------------------- > Wanadoo vous informe que cet e-mail a ete controle par l'anti-virus mail. > Aucun virus connu a ce jour par nos services n'a ete detecte. > > > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
