
-----------------------------------
heythere
Thu Jun 19, 2003 11:45 am

How do u save into a textfile
-----------------------------------
hi im trying to input some info but then i want to put into another textfile
but i dunno
how
im new so plzzz help me out thxthx :lol:

-----------------------------------
JSBN
Thu Jun 19, 2003 11:46 am


-----------------------------------
Look for the tutorial.
http://www.compsci.ca/bbs/viewtopic.php?p=29#29

-----------------------------------
Blade
Thu Jun 19, 2003 11:48 am


-----------------------------------
if you check out the tutorials section there should be some good tuts on how to do it... but you need to make a "stream" to the file, and set it to "put" because you are writing to it. if you want to read you would have used "get"
var streamout:int
open:streamout,"file",put
then you use
put:streamout,"data here"
you may need to loop it if you are going to be writing a lot of stuff, like an entire array to a datafile.
