jonas at zeus.rug.ac.be
Mon Feb 25 10:40:04 CET 2002
On zondag, februari 24, 2002, at 07:20 , ivica munitic wrote:
> I solved the problem :)
> The thing was that I din't use a fixed Length with
> the BlockWrite function.
> When I did use a fixed block size in both blockwrite
> and blockread function the problem disapered.
That was indeed an error in your program:
At the time the blockread call is executed, current^.fname isn't
initialized yet and as such length(current^.fname) contains a random
value at that time.
More information about the fpc-pascal