Re: An arbitrary if.
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