• 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: interesting discovery (trying to get record labels as strings)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interesting discovery (trying to get record labels as strings)


  • Subject: Re: interesting discovery (trying to get record labels as strings)
  • From: Christopher Nebel <email@hidden>
  • Date: Thu, 6 Dec 2001 07:24:31 -0800

On Thursday, December 6, 2001, at 02:11 AM, Emmanuel wrote:

There have been versions of AppleScript where having it return ASCII 0 as
string crashed the machine - whatever the editor.

I don't know whether this is considered a bug by Apple. If it is, then I
don't know whether it has been fixed in any version of AS. Personally, I
still avoid having a string displayed when it's likely to contain ASCII
0's.

This should have been fixed in AppleScript 1.6, if I'm reading the bug report right. The problem was that it would expand the '\0' to a string from a random address. Sometimes you'd get lucky, and it would start with a zero byte so everything worked, but more often you'd get garbage or a crash.


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: interesting discovery (trying to get record labels as strings)
      • From: "Serge Belleudy-d'Espinose" <email@hidden>
References: 
 >Re: interesting discovery (trying to get record labels as strings) (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: "open for access" changed in 9.2.2?
  • Next by Date: Re: Scripts no longer work in 9.2.2
  • Previous by thread: Re: interesting discovery (trying to get record labels as strings)
  • Next by thread: Re: interesting discovery (trying to get record labels as strings)
  • Index(es):
    • Date
    • Thread