Re: is this a bug?
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.