[fpc-devel] Coding Questions
webmaster at visionforceweb.com
Wed Dec 7 23:26:17 CET 2005
----- Original Message -----
From: "Jonas Maebe" <jonas.maebe at elis.ugent.be>
To: "FPC developers' list" <fpc-devel at 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.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel