Doesn't j504 require the use of y. (with the period) instead of y inside definitions?
On Fri, Mar 26, 2010 at 4:33 PM, Sprague, Webb (OFM) <[email protected]> wrote: > This looks promising, but it doesn't work (J504 -- various reasons, but > we can't upgrade) > >> Here is a variation which I think will do what you want: >> >> readfile =: 3 : 0 >> if. fexist y do. >> fread y >> else. >> ('readfile: ', y, ' does not exist') 13!:8(24) >> end. >> ) > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
