Error accessing a file after WriteFile

Blitz3D Forums/Blitz3D Beginners Area/Error accessing a file after WriteFile

I used BlitzDebugger and stepped into the code.

In the Read function:
I see that fileread <> 0 (it exists)

But when I do a ..While not Eof(fileread)..the pointer jumps to the end of the while loop, to CloseFile(fileread)

For some reason, the compiler thinks there are no data in the file..

very strange