Re: Another doubt about reading/writing files...
- Posted by Lucius L Hilley III <luciuslhilleyiii at JUNO.COM> Apr 03, 1997
- 1020 views
On Sat, 7 Sep 1996 19:53:14 -0300 Ricardo Niederberger Cabral <rnc at INFOLINK.COM.BR> writes: > >I would like to save a 2D array (a sequence of sequences) that I >initialized >like this: > MapVar = repeat(repeat({0, 0}, 100), 100) >in a data file (could be binary or whatever...) so I can read it >later. How can I do it using Euphoria ? > integer handle handle = open("file", "w") MapVar = repeat(repeat(0, 320), 200) print(handle, MapVar) close(handle) You really should use the help files. I got this info by loading the editor. Pressed ESC h l Escape for menu h for help l for library Pressed ESC f f for find Typed in print Read some then Pressed ESC f Typed in <print Boom I had the info I needed. The documentation is actually done rather well. Good luck. --Lucius Lamar Hilley III -- E-mail at luciuslhilleyiii at juno.com -- I support transferring of files less than 60K. -- I can Decode both UU and Base64 format.