Re: Why doesn't this cause an error?
Re: Why doesn't this cause an error?
- Subject: Re: Why doesn't this cause an error?
- From: Mr Tea <email@hidden>
- Date: Tue, 24 Sep 2002 16:38:59 +0100
This from Paul Skinner - dated 24-9-02 03.27 pm:
>
> I based my expectations on the notion that AS usually returns an error when
>
> you ask it to find something that isn't there.
>
>
True in many cases, so not an unreasonable assumption. But the
>
dictionary makes it clear that it's not so.
>
>
offset: Find one piece of text inside another (defined in:
>
StandardAdditions.osax)
>
offset
>
of Unicode text -- the source text to find the position of
>
in Unicode text -- the target text to search in
>
Result: integer -- the position of the source text in the target, or
>
0 if not found
Whoops. Mea culpa. I'll look a little harder next time... Thanks, all, for
your patience with this largely bogus question.
N.
_______________________________________________
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.