At 03:40 PM 9/20/96 +0200, you wrote:
{ BP-like file operations for binary files } { simple workaround for the CRLF-bug in GCC/GPC } { Sven Hilscher - sven@rufus.central.de }
I can see the use of functions with a borland-compatible syntax, like assign(), but fail to see the link with CRLF problems. I think I fixed those.
var f: text
is now opened in text mode. A line is terminated with CRLF in DOS, while
type byte = __byte__ integer; bytefile = file of byte;
var g: bytefile;
is opened in binary mode and $0A is not silently converted to $0A$0D.
I think this solves the problems. If you think otherwise, let me know.
JanJaap -- The latest & greates in software, hardware and manswear -- Bono Vox (U2)