On 03 Dec 2005, at 19:44, VisionForce wrote:
the readkey() function freezes the whole app until you press a key; this is async.
No, that's synchronous. Asynchronous means that you ask for something to be performed and that control is immediately returned to you, while "something" is performed in the asynchronously with the rest of the flow of your program (instead of that the flow of your program is synchronised with the completion of that operation).
That said, there's always the keypressed function if you want to check first whether a key has been pressed before calling readkey.
Jonas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
