Re: [fpc-pascal]System unit and readln

2003-06-20 Thread Maciej Łaszcz
On Thu, 19 Jun 2003, Marco van de Voort wrote: > Yes you can. See the Crt unit. In practice you have to redefine the handlers in > the output handle (stdout under C) so that those handlers don't do anything with > the input (or redirect it to where you want) > > > close(output); > assign(Output,'te

Re: [fpc-pascal]System unit and readln

2003-06-19 Thread Marco van de Voort
> On Thu, 19 Jun 2003, Marco van de Voort wrote: > > > Where can I find the declaration of read, readln, write and writeln > > > procedures? I've searched the whole source package for fpc and didn't > > > find even header of those function, where they are? > > > > These aren't proper procedures, an

Re: [fpc-pascal]System unit and readln

2003-06-19 Thread Maciej Łaszcz
On Thu, 19 Jun 2003, Marco van de Voort wrote: > > Where can I find the declaration of read, readln, write and writeln > > procedures? I've searched the whole source package for fpc and didn't > > find even header of those function, where they are? > > These aren't proper procedures, and the compil

Re: [fpc-pascal]System unit and readln

2003-06-19 Thread Marco van de Voort
> Where can I find the declaration of read, readln, write and writeln > procedures? I've searched the whole source package for fpc and didn't > find even header of those function, where they are? These aren't proper procedures, and the compiler generates "special" code for it. So there is no defi

Re: [fpc-pascal]System unit and readln

2003-06-19 Thread Peter Vreman
> Hello, > > Where can I find the declaration of read, readln, write and writeln > procedures? I've searched the whole source package for fpc and didn't > find even header of those function, where they are? They are handled internally by the compiler. See the reference manual for a description _