wait 0 doesn't

Jim Hurley jhurley at infostations.com
Tue Apr 29 11:40:01 EDT 2003


P.S.

There is an interesting difference between the Mac and PC.

On my  Mac, running the handler:

on mouseUP
   put empty into field 1
   repeat 20
     put the milliseconds into startTime
     repeat 200
       wait 1 milliseconds
     end repeat
     put  the milliseconds - startTime & comma & space after results
   end repeat
   put results  into field 1
end mouseUP

I get the following results:

411, 379, 293, 371, 376, 370, 359, 297, 367, 371, 370, 809, 368, 302, 
365, 357, 291, 371, 374, 373

with a minimum of 291 and a maximum of 809.

On my PC I get:

328, 329,329, 331, 329, 329, 329, 331, 329, 330, 329, 329, .....

with  a minimum of 329  and a maximum of 331.

It doesn't appear to be a memory allocation problem. I have 54 megs 
allocated to  RunRev on my Mac.

Jim



More information about the Use-livecode mailing list