MACSCRPT Archives

June 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 3 Jun 2009 12:36:50 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
On Jun 3, 2009, at 11:25 AM, Chuck Pelto wrote:

> Greetings All,
>
> How many decimal places can DELAYA go to to achieve a fraction of a  
> second?
>
> Can we go to milliseconds?
>
> Regards,
>
> Chuck
>
On My Machine. the smallest delay seems to be .016 or about 1/60th of  
a second.

It takes smaller numbers and may discriminate between smaller  
differences.  Delay 0 returns almost instantly.  ~10^-4 sec.  There is  
a *LOT* of slop in delay at these scales.  I wouldn't trust it finer  
than about a tenth of a second.

If you need finer times Cocoa is not that hard to learn.

-Mark
Who is on his 3rd programming language of the day.

ATOM RSS1 RSS2