(AGK version: 108.15)
Submitted: 2013-07-11 18:37:56
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)
Login to post an example of your own.