Im not sure if this should go here of in the lua forum but here it is.
I am learning about file IO and i believe I am doing everything correctly but the simulator wont save the files. anyway for me to figure out where the simulator would save the files so I can go look and see if its there? i tried showing the path on screen but it gave me an error. heres the code im using to create the file:
begin\_time = os.date("\*t");
local pathToFile = system.pathForFile("user.dat", system.DocumentsDirectory);
local myFile = io.open(pathToFile, "w");
myFile:write(begin\_time.min);
io.close(myFile); myFile = nil;
Edit: nevermind, just found it in the appData>roaming>ansca>corona simulator>appName [import]uid: 133512 topic_id: 23452 reply_id: 323452[/import]