Re: number
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
References: | |
| >Re: number (From: "Nigel Garvey" <email@hidden>) |