El 02/04/2012 05:00 a.m., fpc-pascal-requ...@lists.freepascal.org escribió:
Do you mean if FileRead executed when the file pointer is at the end of file, it would wrap around to the beginning?
Yes, it is possible? Example, is it correct?:
FileWrite(Arch,b,40); // Write 40 bytes FileRead(Arch,b,40); //Read 40 bytes or, is this correct?: FileWrite(Arch,b,40); // Write 40 bytes Fileseek(Arch,0,fsFromBeginning)); //Move to begining FileRead(Arch,b,40); //Read 40 bytes thanks, sorry for my bad english _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal