Ferdinando, Sometimes it's more precise to use milliseconds. For instance, if I want to delay a process for exactly 3/4 of a second I can use:
$ms:=Milliseconds+750 // this is when the loop is done While (Milliseconds<$ms) Idle End while You could do the same thing with ticks and the Tickcount function: $success:=false // what ever you are doing will set this var to true if it works $ticks:=Tickcount+180 // wait for 3 secs While (Tickcount<$ticks) & (not($success)) Idle End while If($success) // yea! else // timed out end if This is the easiest approach I've come across. All this is assuming the communication process is running asynchronously. If it's not then you need to set the timeout for whatever is running that communication. On Tue, Sep 6, 2016 at 1:52 AM, stardata.info <[email protected]> wrote: > I need to check the timeout in one communication process. > For timeout qty i use ticks unity, how i can do for to measure if the > timeout inserted is elapsed? > -- Kirk Brooks San Francisco, CA ======================= ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

