Re: Since Apple Listens to this List... [Case Statements]
Re: Since Apple Listens to this List... [Case Statements]
- Subject: Re: Since Apple Listens to this List... [Case Statements]
- From: Matthew Smith <email@hidden>
- Date: Wed, 13 Feb 2002 19:17:50 +1100
on 13/02/2002 18:06, Ed Stockly at email@hidden wrote:
>
How would Case even look in appleScript?
>
>
case x then
>
y
>
break
>
case z then
>
handlerCall(z)
>
break
>
end case
Well in SQL one of the forms of case, that looks quite like AppleScript is:
case x
when y then
doSomething
when z then
doSomethingElse
else
doAnotherThing
end case
--
Matthew Smith
_______________________________________________
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.