Re: offset with spaces confusion
Re: offset with spaces confusion
- Subject: Re: offset with spaces confusion
- From: Christopher Nebel <email@hidden>
- Date: Fri, 3 May 2002 07:41:54 -0700
On Friday, May 3, 2002, at 03:24 AM, email@hidden wrote:
If I do this:
ignoring white space
"abc" is in "a b c d"
-->true
end ignoring
I get the answer I expected. So why don't I get the answer I expect with
offset:
ignoring white space
offset of "c" in "a b c d"
-->8
end ignoring
I assume this means offset ignores the ignoring statement. Is there a
logical reason or is this a bug?
"offset of", along with all other scripting additions that I know of,
ignores all considering/ignoring blocks. Whether this is a bug or
because of a logical reason depends on your viewpoint -- it has to do
with a basic architectural design flaw. The flaw was fixed in
AppleScript 1.7, but changing the scripting additions creates
compatibility problems, so we're still considering how to fix them.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.