• 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: Can someone please explain (Language Guide)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can someone please explain (Language Guide)


  • Subject: Re: Can someone please explain (Language Guide)
  • From: Skeeve <email@hidden>
  • Date: Thu, 10 Jan 2008 11:47:59 +0100

Axel Luttgens wrote:
Not really useful in this case, but should give the idea:

   on getItem of ThisList at Pos
       return item Pos of ThisList
   end getItem

   getItem of {"a", "b", "c"} at 2
   --> "b"
Okay... You've put an "of" there. But if I read it correctly, "of" and "in" should be optional. It's written as
[ of | in ]
and not
( of | in )
like it is done with the
( on | to )
which is not optional for defining a handler



What I wanted to create is a handler: on the_last weekdayname for a_date

so that I can write
 the_last Monday for current date


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Can someone please explain (Language Guide)
      • From: Axel Luttgens <email@hidden>
References: 
 >Can someone please explain (Language Guide) (From: Skeeve <email@hidden>)
 >Re: Can someone please explain (Language Guide) (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: How to get the app in use
  • Next by Date: Re: How to get the app in use
  • Previous by thread: Re: Can someone please explain (Language Guide)
  • Next by thread: Re: Can someone please explain (Language Guide)
  • Index(es):
    • Date
    • Thread