Re: [fpc-pascal] Timer for Windows/Linux

2006-09-01 Thread Felipe Monteiro de Carvalho
On 9/1/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: Where are you from? I'm from São Paulo. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Timer for Windows/Linux

2006-09-01 Thread Fabrício F. Kammer
Thank you very much Felipe. Where are you from? I'm Brazilian too, from Conchal/SP. []s Fabrício Felipe Monteiro de Carvalho escreveu: On 9/1/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: Do you have an example of how to use this loop on a thread? Sorry, but I don't know threads very

Re: [fpc-pascal] Timer for Windows/Linux

2006-09-01 Thread Felipe Monteiro de Carvalho
On 9/1/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: Do you have an example of how to use this loop on a thread? Sorry, but I don't know threads very well. Yes, I have a very big example. It´s a GUI for a digital oscilloscope board. The thread code is on the medidor.pas unit You can do

Re: [fpc-pascal] Timer for Windows/Linux

2006-09-01 Thread Fabrício F. Kammer
Thanks Felipe, Do you have an example of how to use this loop on a thread? Sorry, but I don't know threads very well. regards Fabrício Felipe Monteiro de Carvalho escreveu: On 9/1/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: I need to implement a routine on my sofware to be executed e

Re: [fpc-pascal] Timer for Windows/Linux

2006-09-01 Thread Felipe Monteiro de Carvalho
On 9/1/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: I need to implement a routine on my sofware to be executed each 5 minutes. Write a loop that first stores the current time, then executed whatever you need, and then sleeps until current_time - previous_time = 5 minutes. Like this: