• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie question: real with fraction to int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question: real with fraction to int


  • Subject: Re: newbie question: real with fraction to int
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 28 Oct 2003 08:47:48 +1100

On 28/10/03 2:04 AM +1000, Arthur Knapp, email@hidden, wrote:

> Does this mean it accepts idle-periods of less than a second

Excuse the code:

global x, y
set x to 1
set y to current date

on idle
if x = 10 then
display dialog ((current date) - y) as Unicode text
quit
else
set x to x + 1
return 0.1
end if
end idle

Shows 1.

--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: newbie question: real with fraction to int (From: Arthur Knapp <email@hidden>)

  • Prev by Date: Re: Get entire contents
  • Next by Date: Mail.app: set content of message generates unexpected error
  • Previous by thread: Re: newbie question: real with fraction to int
  • Next by thread: Copy items
  • Index(es):
    • Date
    • Thread