Thanks! That worked fine for logger but I have a new problem using WS.ijs:

load '/Users/ihf/Documents/J Books/J Scripts/WS.ijs'

saveAllVars '/Users/ihf/j601/temp/'
|value error: dsp
|   nmlst=.<;._1' ',    dsp,(names__ 0),"1' '


On Jul 9, 2007, at 8:27 PM, Sherlock, Ric wrote:

> [mailto:[EMAIL PROTECTED] On Behalf Of Ira Fuchs
> That would explain it. I was hoping to use these scripts on a
> Mac.  I didn't realize they were platform-dependent.

I'm pretty sure the only bit that is platform-dependent it the setting
of the tempdir (in verb todayfile).
If you manually set the global variable FNM_logger_ to the name of log
file you wish to write to, it will skip that part and then the script
should work fine.

Alternatively you could replace getTempDir with a Mac version, or even:
getTempDir=: 3 : 0
  td=. PATHSEP_j_ ,~ jpath '~temp'
)

Which will write the log file to your J temporary directory on all
platforms.
----------------------------------------------------------------------
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