• 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: Re: bug in rest of list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Making EPS files of PDFs Round Two
  • Next by Date: saving eps file
  • Previous by thread: Re: bug in rest of list?
  • Next by thread: Re: Re: bug in rest of list?
  • Index(es):
    • Date
    • Thread