Hi! I'm trying to save some informations to a text file but nothing happend when I run my code, my file (it's a simple test txt file in the root of my project) remains empty.
MY code contains nothing else just the sample code from AGK's website, so I belive its just a file authorization issue. I'm trying to change the file policies, but it wont helps.
function saveTofile(file$ as string, myString$ as string)
fileID = openToWrite(file$, 0)
if fileIsOpen(FileID) = 1
writeString(fileID, myString$)
closeFile(fileID)
endIf
endFunction
do
saveToFile("sve.txt","HELLO VILÁG")
Print( ScreenFPS() )
Sync()
loop