Page 1 of 1

Bug with #MODE_READWRITE

Posted: Wed Jan 11, 2017 4:23 am
by PEB
Unless I'm misunderstanding something, there's a bug here (at least it's not working as I would expect):

Code: Select all

OpenFile(1, "S:Startup-Sequence", #MODE_READWRITE)
While Not Eof(1) Do NPrint(ReadLine(1))
CloseFile(1)
The same code works fine if #MODE_READ is used instead.

Re: Bug with #MODE_READWRITE

Posted: Sun Jan 15, 2017 9:47 pm
by airsoftsoftwair
Nice spot! This has been fixed now, thanks for the report! #MODE_WRITE was also affected by this bug.