Re: bug in rest of list?
Re: bug in rest of list?
- Subject: Re: bug in rest of list?
- From: Emmanuel <email@hidden>
- Date: Tue, 5 Feb 2002 09:32:05 +0100
At 4:54 AM +0100 5/2/02, email@hidden wrote:
>
>
set x to {"&&&&", "===="}
>
>
[...]
>
>
try
>
display dialog y as integer -- deliberately err
>
on error errmsg
>
display dialog errmsg -- y looks like a string!
>
end try
Works normally here: errors as "can't make "====" into an integer"
(translated from the French error message).
OS: Z1-9.2.1
AppleScript: FU1-1.6
Carbon: 1.4.0
Smile: 1.8.5
Emmanuel
PS while on the topic I remind just in case that strings such as "----" ,
"++++" , "-+-+-+-+-+-+-+-+-+-+-+", coerce flawlessly to integers (they
evaluate to 0), but not to reals.