Re: offset with spaces confusion
Re: offset with spaces confusion
- Subject: Re: offset with spaces confusion
- From: has <email@hidden>
- Date: Tue, 7 May 2002 01:21:16 +0100
Christopher Nebel wrote:
>
> 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.
<Arthur>
How about:
offset of x in y with consideration as taught in ASLG
</Arthur>
;)
Seriously: is there any way to get on-the-fly information from AS as to the
characters it considers as, eg, upper/lowercase or accented/unaccented.
Specifically, when high-ASCII characters are involved it's difficult
(impossible?) to write language-independent routines that'll work across
different character sets. There doesn't seem to be any way of automatically
working out which low/high ASCII characters are identical barring
case/accents. Any thoughts?
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
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.