• 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: String to multiple-item list coercion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String to multiple-item list coercion


  • Subject: Re: String to multiple-item list coercion
  • From: Nigel Garvey <email@hidden>
  • Date: Thu, 26 Sep 2002 01:19:24 +0100

has wrote on Tue, 24 Sep 2002 22:20:08 +0100:

>set {day:a, month:b, year:c} to date "Sunday, September 1, 2002 12:00:00am"
>return {a, b, c}
> --> {1, September, 2002}

That's not only the most interesting technique I've seen on this list for
several weeks, but it's very much faster than the list assignment
alternative:

set {a, b, c} to date "Sunday, September 1, 2002 12:00:00am"'s {day,
month, year}

:-)

NG
_______________________________________________
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.

  • Prev by Date: Re: Updating Mail 1.2 database
  • Next by Date: Re: Why doesn't this cause an error?
  • Previous by thread: Re: String to multiple-item list coercion
  • Next by thread: Re: String to multiple-item list coercion
  • Index(es):
    • Date
    • Thread