Blockland Forums > Modification Help
File I/O Tutorial
Destiny/Zack0Wack0:
--- Quote from: Red_Guy on April 13, 2011, 02:48:06 AM ---I dont suppose you know how to get the time and date of a file? ... like what is displayed when you go to load a save?
--- End quote ---
--- Code: ---getFileModifiedTime("config/client/prefs.cs")
--- End code ---
Placid:
actually, i didn't mention it in my first comment.
you define openForWrite well, but you give little to no description of openForAppend and from what you've given us, i can only see that it's the same as openForWrite?
otto-san:
--- Quote from: Placid on April 13, 2011, 07:27:26 AM ---actually, i didn't mention it in my first comment.
you define openForWrite well, but you give little to no description of openForAppend and from what you've given us, i can only see that it's the same as openForWrite?
--- End quote ---
"openForAppend, which simply adds onto a file."
"If you do this more, it will add more lines containing whatever is in openForAppend."
"After the last one, the file should now read:
'blah
blah'"
what
Placid:
--- Quote from: otto-san on April 13, 2011, 05:20:44 PM ---"openForAppend, which simply adds onto a file."
"If you do this more, it will add more lines containing whatever is in openForAppend."
"After the last one, the file should now read:
'blah
blah'"
what
--- End quote ---
i'm only seeing the last 2 bro.
that's all i needed though.
not sure if i'm missing something.
wizzlemanizzle:
apparently theres something im not getting here, i keep getting the error:
unable to find function openForAppend
unable to find function newFileObject
???