[fpc-devel] Bug 3543

Michael Van Canneyt michael at freepascal.org
Thu Mar 31 02:40:36 CEST 2005



On Thu, 31 Mar 2005, Thomas Schatzl wrote:

> Maxim Ganetsky schrieb:
> Hello,
>
> > Bug 3543 has been closed as unreproducable, but I can not
> > compile this program at least with fpc 1.9.8 on Win32:
> >
> > Uses Keyboard;
> > begin
> >   repeat
> >   until KeyPressed;
> > end.
> >
> > Error: Identifier not found "KeyPressed"
>
> According to the unit sources there is no keypressed() function in the
> keyboard unit, the docs are wrong (I think so at least) or it has been
> removed.

No.
The docs are generated from the linux version of the units.
That means all Linux functions are documented, so if there
are additional functions (as in this case), they are documented.

So the documentation is always correct _for linux_.

Michael.




More information about the fpc-devel mailing list