• 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: is this a bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is this a bug?


  • Subject: Re: is this a bug?
  • From: Mr Tea <email@hidden>
  • Date: Tue, 06 Aug 2002 01:46:08 +0100

This from has - dated 6-8-02 12.42 am:

> set theString to "12345678"
> theString's character 9 is in "1234567890"
> --> Error: Can't make character 9 of "12345678" into a string.
>
> Anyone care to confirm the second case? Looks like a recent bug to me

This is not entirely illogical, surely.

You demonstrated in your first case that AppleScript, reasonably enough,
can't get character 9 of "12345678", so the error in the second case equates
to 'Can't make [something I can't get] into a string'. The script hit a
wall, and simply reported the fact.

Out of interest, what would you have expected: a 'false' result with no
error, or the same error as your first example generated?


Nick
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >is this a bug? (From: has <email@hidden>)

  • Prev by Date: URL parsing [was Re: "+" and "-" are numbers.]
  • Next by Date: Re: Scripting "Startup Disk"
  • Previous by thread: is this a bug?
  • Next by thread: Re: is this a bug?
  • Index(es):
    • Date
    • Thread