Smaller than milliseconds?

Dar Scott dsc at swcp.com
Thu Jul 10 18:39:00 EDT 2003


On Thursday, July 10, 2003, at 04:24 PM, Dar Scott wrote:

>> A headache, from looking at all those digits....
>
> OK, this has less digits.

But this is better.  The first call to long seconds or long 
milliseconds is thrown away on this one.  It takes longer for some 
reason.

on mouseUp
   set the cursor to watch
   put "Upper bounds on time resolution:" & LF into field "Report"
   --
   put the seconds into time1
   put the seconds into time2
   repeat while time1 is time2
     put the seconds into time2
   end repeat
   put "the seconds resolution: " & (time2-time1) & LF after field 
"Report"
   --
   put the long seconds into junk
   put the long seconds into time1
   put the long seconds into time2
   repeat while time1 is time2
     put the long seconds into time2
   end repeat
   put "the long seconds resolution: " & (time2-time1) & LF after field 
"Report"
   --
   put the ticks into time1
   put the ticks into time2
   repeat while time1 is time2
     put the ticks into time2
   end repeat
   put "the ticks resolution: " & (time2-time1) & LF after field "Report"
   --
   put the long ticks into time1
   put the long ticks into time2
   repeat while time1 is time2
     put the long ticks into time2
   end repeat
   put "the long ticks resolution: " & (time2-time1) & LF after field 
"Report"
   --
   put the milliseconds into time1
   put the milliseconds into time2
   repeat while time1 is time2
     put the milliseconds into time2
   end repeat
   put "the milliseconds resolution: " & (time2-time1) & LF after field 
"Report"
   --
   put the long milliseconds into junk
   put the long milliseconds into time1
   put the long milliseconds into time2
   repeat while time1 is time2
     put the long milliseconds into time2
   end repeat
   put "the long milliseconds resolution: " & (time2-time1) & LF after 
field "Report"
   --
end mouseUp

Now, I'm really really gone for the evening.

Dar




More information about the metacard mailing list