• 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: Why doesn't this cause an error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Why doesn't this cause an error? (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: Shell Scripting
  • Next by Date: Re: Strange QP
  • Previous by thread: Re: Why doesn't this cause an error?
  • Next by thread: Re: Why doesn't this cause an error?
  • Index(es):
    • Date
    • Thread