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