• 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: number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: number


  • Subject: Re: number
  • From: kai <email@hidden>
  • Date: Sun, 25 Sep 2005 21:12:14 +0100


On 23 Sep 2005, at 21:25, Nigel Garvey wrote:

kai wrote on Thu, 22 Sep 2005 23:17:52 +0100:

Or:

-(a reference to o's x)


So only _compiled_ references are affected.

I'm not so sure, Nigel. The coercion failure of a real, as well as the whole-number real to integer coercion that you identified, both manifest themselves in the following reference examples:


--------------

-({x:1.2}'s x)
--> error number -1700

-({x:1.0}'s x)
--> -1

--------------

-({1.2}'s item 1)
--> error number -1700

-({1.0}'s item 1)
--> -1

--------------

set x to "1.2"
-(x's text)
--> error number -1700

set x to "1.0"
-(x's text)
--> -1

--------------

From your tests, it's interesting to note that this behaviour has been around for such a long time. (I can't begin to imagine what might be causing it...) :-/

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: number
      • From: Emmanuel <email@hidden>
References: 
 >Re: number (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: Dave Lyons
  • Next by Date: Re: number
  • Previous by thread: Re: number
  • Next by thread: Re: number
  • Index(es):
    • Date
    • Thread