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: Ed Stockly <email@hidden>
- Date: Tue, 12 Feb 2002 23:06:26 -0800
>
Note that "if ... else if ..." is not really equivalent to "case ...",
>
because (at least with C++) execution won't stop on the next "case". You've
>
got to write "break".
Yea, I'm wondering if a Case structure can even be designed to be consistent
with AppleScript syntax, in a clear, easily understood English-like
construct that works in a similar way as Case in C.
How would Case even look in appleScript?
case x then
y
break
case z then
handlerCall(z)
break
end case
On the otherhand, "next repeat" would fit nicely with AppleScript.
ES
_______________________________________________
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.