To the text in a text area to a file, try this. It will overwrite any current data:
Or to append then text to a file with data inside it:
Look in the command reference for the commands used to format a textarea with color and stuff. Theres 3 or 4 of them.
Hope it helps!
file=Writefile("textarea.txt") ;Make new file WriteLine(file,TextAreaText$(textarea)) ;Write text into file CloseFile(file) ;Close file
Or to append then text to a file with data inside it:
file=Openfile("textarea.txt") ;Open file Seekfile(file,FileSize(file)) ;Gets to the end of file WriteLine$(file,TextAreaText$(textarea)) ;Write text Closefile(file) ;Close file
Look in the command reference for the commands used to format a textarea with color and stuff. Theres 3 or 4 of them.
Hope it helps!