resolution of Time in Rev
Alex Tweedly
alex at tweedly.net
Fri Aug 19 13:46:00 EDT 2005
Alex Tweedly wrote:
>
>> local nextFTPTime
>> on mouseUp
>> if the seconds > nextFTPTime then
>> do ftp Stuff
>> put the seconds + field "TestFreq" into nextFTPTime
>> end if
>> send "mouseUp" to me in 10 seconds
>> end mouseUp
>
You might want to make that
send "mouseUp" to me in min(10, nextFTPTime-the seconds) seconds
just to get the desired time more accurate ... otherwise, if your
frequency was, say, 12 (the value I happened to use in my test before I
sent the above script :-), you'll wait an extra 8 seconds....
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005
More information about the use-livecode
mailing list