Re: Re: bug in rest of list?
Re: Re: bug in rest of list?
- Subject: Re: Re: bug in rest of list?
- From: email@hidden
- Date: Tue, 5 Feb 2002 17:50:32 EST
>
At 4:54 AM +0100 5/2/02, email@hidden (that's me) wrote:
>
>try
>
> display dialog y as integer -- deliberately err
>
>on error errmsg
>
> display dialog errmsg -- y looks like a string!
>
>end try
and Emmanuel kindly responded:
>
Works normally here: errors as "can't make "====" into an integer"
>
(translated from the French error message).
missing my point, which was that the error message should read
Can't make {"===="} into an integer
and JJ chimed in helpfully with:
>
If you receive the dialog: << Can't convert "====" into a string >>,
>
then there isn't a bug, but a single string list is coerced to a string
>
automatically, a list of strings can _be_coerced_ to string, and a list
>
without records, too.
Since the deliberate error technique is an easy way to see the actual data
structure of a variable, I was miffed to find it unreliable. Since Apple has
never endorsed or recommended that technique, I guess I can't gripe too much.
: (
Jeff Baumann
email@hidden
www.linkedresources.com