just incase anyone else was puzzled like I was... tobin=:3!:1 NB. to binary frombin=:3!:2 NB. convert back from binary read=:(1!:1) NB. read file write=:(1!:2) NB. write file
A=:i. 50 5 (tobin A) (1!:2) <'c:\temp\A.dat' frombin (1!:1) <'c:\temp\A.dat' (tobin A) write <'c:\temp\A.dat' frombin read <'c:\temp\A.dat' On 23 December 2010 19:55, Steven Taylor <[email protected]> wrote: > For a long time I didn't go past vocabulary. Just starting to dig into the > script libraries now. Thanks for the sanity check. > > Looks like I need: > > [x] 3!:1 y > and, > 3!:2 y > > -Steven > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
