(more specifically, I said that it does nothing on j7 -- and perhaps I should have qualified that by saying that it does nothing in j7 in a default configuration.)
-- Raul On Wed, Nov 9, 2011 at 7:12 AM, Raul Miller <[email protected]> wrote: > I did not say that require does nothing. > > I said that require'files' does nothing. > > -- > Raul > > 2011/11/9 Björn Helgason <[email protected]>: >> It is not quite true that require does nothing. >> >> require load script file if not already loaded >> >> require makes sure what you asks for is there >> >> Several loads in a row always loads >> Several requires in a row always checks but only loads once >> >> Same workings in J7 as in J6 >> >> 2011/11/9 Raul Miller <[email protected]> >> >>> 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 >>> >> >> >> >> -- >> Björn Helgason, Verkfræðingur >> Fornustekkum II >> 781 Hornafirði, >> t-póst: [email protected] >> gsm: +3546985532 >> twitter: @flugfiskur >> http://groups.google.com/group/J-Programming >> >> >> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans >> >> góður kennari getur stigið á tær án þess að glansinn fari af skónum >> /|_ .-----------------------------------. >> ,' .\ / | Með léttri lund verður | >> ,--' _,' | Dagurinn í dag | >> / / | Enn betri en gærdagurinn | >> ( -. | `-----------------------------------' >> | ) | (\_ _/) >> (`-. '--.) (='.'=) ♖♘♗♕♔♙ >> `. )----' (")_(") ☃☠ >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
