[fpc-pascal] stdout refuses to be redirected
Tomas Hajny
XHajT03 at mbox.vol.cz
Thu Oct 9 12:17:10 CEST 2008
On Thu, October 9, 2008 11:43, Arjan van Dijk wrote:
>> You can stop using crt, then you don't need to change your write
>> instuctions.
>
> And how about my calls to READKEY and KEYPRESSED?
> Would unit WINCRT bring a solution?
> Or should I reconsider the use of these two statements anyhow?
You can use alternatives provided by standard RTL unit Keyboard. The point
is that the compatibility unit Crt (originally coming from TP/BP legacy)
has been supposed to provide enhanced alternatives to basic console input
and output provided by unit System, but that implies redefinition of parts
of the default functionality.
Tomas
More information about the fpc-pascal
mailing list