> 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 compiler generates "special" code > > for it. > > > > So there is no definition. > > > > If you are merely searching for a way to do variable number of arguments, > > look in the help for "array of const" > > I need to know which system function have to be blocked to block writeln, > write function. And as I see I can't block it
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,'text.txt'); rewrite(Output); might alread do something. _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal