You need to use "jpath" to properly interpret "~user", i.e.
f1 fwrites jpath '~user/data/test080401.txt' On 4/1/08, Hahn, Harvey <[EMAIL PROTECTED]> wrote: > > Why does this work: > > f1 fwrites 'c:\test080401.txt' > 21 > > but this doesn't: > > f1 fwrites '~user/data/test080401.txt' > _1 > > Likewise for reading files: > > f1 fread 'c:\test080401.txt' > 0 1 2 3 4 5 6 7 8 9 > > f1 fread '~user\data\test080401.txt' > _1 > > Intuitively, one would think they ought to work the same. What am I > missing?? > > Thanks in advance! > > Harvey > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
