Textarea save or load file

BlitzMax Forums/MaxGUI Module/Textarea save or load file

hub(Posted 2007) [#1]
Hi
i'm searching a code sample to save the textarea text to a file, and the contrary load a text file into a textarea. Is there some sample somewhere ? Thanks !


skidracer(Posted 2007) [#2]
SaveText TextAreaText(mytextarea),"myfile.txt"

SetTextAreaText mytextarea,LoadText("myfile.txt")



hub(Posted 2007) [#3]
many thanks skid !