Sign in to follow this  
JamKing

blitz3d txt saving

Recommended Posts

hi,

yes, you just use the writestring command

the sytax is:

writestring(stream,string$)

i.e.
writestring(myfile,"hello world!")

would write the string "hello world" to the myfile file stream.
You open a file to write to with:
myfile = writefile("myfile.dat")

If you have a string, say mystring$ = "hello bob!"
then you can write:
writestring(myfile,mystring)


The online manual page is here:
http://www.blitzbasic.com/bpdocs/command.php?name=WriteString&ref=2d_cat

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this