I have found what I think is a bug with the OpenFile() command. I was under the impression that when OpenFile() is called with the write flag = true, that it will create the file if it doesn't exist. However, I get an error.
When I create the file first, then the file will open.
Is this a bug or did I just misunderstand how OpenFile() works?
SuperStrict Local File:TStream = OpenFile("MyTestFile.Test",True,True) If Not File Then RuntimeError "Couldn't open MyTestFile.Test" CloseFile File
When I create the file first, then the file will open.
SuperStrict CreateFile("MyTestFile.Test") Local File:TStream = OpenFile("MyTestFile.Test",True,True) If Not File Then RuntimeError "Couldn't open MyTestFile.Test" CloseFile File
Is this a bug or did I just misunderstand how OpenFile() works?