• 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: An arbitrary if.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An arbitrary if.


  • Subject: Re: An arbitrary if.
  • From: Alex Zavatone <email@hidden>
  • Date: Mon, 12 Sep 2011 17:47:27 -0500

That pretty much rocks.  I had no idea you could use dot syntax.  I'll have to try is after my next beer.


On Sep 12, 2011, at 5:04 PM, Mark J. Reed wrote:

> Thinking functionally, I would do something like this in e.g. Ruby:
>
> x = "this is a cat"
> [ "this", "cat" ].map { |word|
>  x.include? word
> }.reduce(true) {  |result, item|
>  result = result and item
> }

 _______________________________________________
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: An arbitrary if.
      • From: "Mark J. Reed" <email@hidden>
References: 
 >An arbitrary if. (From: Alex Zavatone <email@hidden>)
 >Re: An arbitrary if. (From: Christopher Stone <email@hidden>)
 >Re: An arbitrary if. (From: Christopher Stone <email@hidden>)
 >Re: An arbitrary if. (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: An arbitrary if.
  • Next by Date: Re: An arbitrary if.
  • Previous by thread: Re: An arbitrary if.
  • Next by thread: Re: An arbitrary if.
  • Index(es):
    • Date
    • Thread