Textarea save or load file

BlitzMax Forums/BlitzMax GUI Programming/Textarea save or load file

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 !

SaveText TextAreaText(mytextarea),"myfile.txt"

SetTextAreaText mytextarea,LoadText("myfile.txt")


many thanks skid !