Or you can prefix the code with require'files' which does nothing on j7 and defines fread on j6.
-- Raul On Wed, Nov 9, 2011 at 5:40 AM, Brian Schott <[email protected]> wrote: > David, > > Again, your code is exquisite. Thank you for contributing. It seems to > me your messages should be in programming, not chat. > > I might recommend the following refinement to the tictactoe 'locate' > verb because some people using 6.02 do not have fread defined. > > whilst. 9 = cell do. cell =. b i. {. (fread :: (1!:1)1) , m end. > > > On Tue, Nov 8, 2011 at 4:01 PM, David Ward Lambert > <[email protected]> wrote: >> The lessons included boolean logic and state machines. I could have >> used the opportunity to learn ;: , but did not. I did create >> http://rosettacode.org/wiki/Tic-tac-toe#J >> which operates by passing the state around. Maybe I've learned >> something. >> > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
