If you have a large test file to write you MUST include DOS in your header.
Original Reporter info from Mantis: bluehare@att.net
-
Reporter name: Allen Harrington
Original Reporter info from Mantis: bluehare@att.net
- Reporter name: Allen Harrington
Description:
I have a text file that needs to be rewritten when changes are made in the database. When Small it did not matter it worked whether DOS was in the header or not.
the problem reset did not work like this!
(
uses wincrt,wingraph,graphutil2,floor1,floor2;
)
but does like this!
( uses wincrt,wingraph,dos,graphutil2,floor1,floor2;)
Steps to reproduce:
IOstatus := 0;
filemode := 2;
Assign ( fil , 'c:\storedir\shelves.txt');
{$I-}
reset(fil);
rewrite( fil ); {$I+}
If (IOStatus = 0) Then
Begin
Mantis conversion info:
- Mantis ID: 25482
- Build: 1.0.12
- Platform: winXp,Win7,Win8
- Version: 2.6.2