ok, thanks

----- Original Message ----- From: "Jonas Maebe" <[EMAIL PROTECTED]>
To: "FPC developers' list" <fpc-devel@lists.freepascal.org>
Sent: Saturday, December 03, 2005 1:03 PM
Subject: Re: [fpc-devel] Coding Questions



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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to