writing to a file

Blitz3D Forums/Blitz3D Beginners Area/writing to a file

chwaga(Posted 2007) [#1]
How could i write to a file, without deleting the current contents of the file, instead adding onto it?


tonyg(Posted 2007) [#2]
Reading/Writing files


chwaga(Posted 2007) [#3]
hmm...that works wonderfully, but could i write into a file quotation marks, it being a code character inside blitz3d, I need to write quotations into my file, how can this be done?


Yo! Wazzup?(Posted 2007) [#4]
MyString$="...And then I said, " + Chr(34) + "Hi!" + Chr(34) + "..."


Or...

quote$=Chr(34)

Mystring$="Bla Bla Blah " + quote + "Blah Blah Blah" + quote + " Blah Blah Blah"




Note:
To learn every ASCII character so you can put anything into the file,

http://www.blitzbasic.com/codearcs/codearcs.php?code=2028


chwaga(Posted 2007) [#5]
that works, thanks a bunch.