Re: Same code gives different answers in 2 different scripts
Re: Same code gives different answers in 2 different scripts
- Subject: Re: Same code gives different answers in 2 different scripts
- From: Stan Cleveland <email@hidden>
- Date: Thu, 04 Jun 2009 17:58:16 -0700
- Thread-topic: Same code gives different answers in 2 different scripts
On 6/4/09 5:22 PM, "Mark J. Reed" wrote:
> But this I don't get:
>
> floor(1.5001) as integer ==> 2.0
>
> I don't know how that can parse as "floor(1.5001 as integer)" with the
> parens where they are.
>
> ?!?
Mark, the 'floor' command comes from the "Satimage.osax" scripting ddition.
It makes sense to me that AppleScript's own built-in operations would rank
higher in precedence than would an operation defined elsewhere.
Stan C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden