function saveTofile(file$ as string, myString$ as string)
fileID = openToWrite(file$, 0)
if fileIsOpen(FileID) = 1
writeString(fileID, myString$)
closeFile(fileID)
endIf
endFunction
Help make AGK better by submitting an example for this command! (All examples are subject to approval)