[fpc-devel] Coding Questions

VisionForce webmaster at visionforceweb.com
Wed Dec 7 23:26:17 CET 2005


ok, thanks

----- 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.
> 
> 
> Jonas
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list