Re: [fpc-pascal] Re: Fileread function (leledumbo)

2012-04-02 Thread michael . vancanneyt
On Mon, 2 Apr 2012, Luis Fernando Del Aguila Mejía wrote: 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 corr

[fpc-pascal] Re: Fileread function (leledumbo)

2012-04-02 Thread Luis Fernando Del Aguila Mejía
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,

[fpc-pascal] Re: Fileread function

2012-04-01 Thread leledumbo
Do you mean if FileRead executed when the file pointer is at the end of file, it would wrap around to the beginning? Or are you asking how to move the file pointer to the beginning of file? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Fileread-function-tp56104