• 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: Since Apple Listens to this List... [Case Statements]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Since Apple Listens to this List... [Case Statements]
      • From: Applescript User Lewis <email@hidden>
    • Re: Since Apple Listens to this List... [Case Statements]
      • From: John W Baxter <email@hidden>
    • Re: Since Apple Listens to this List... [Case Statements]
      • From: Bill Hoffman <email@hidden>
    • Re: Since Apple Listens to this List... [Case Statements]
      • From: Matthew Smith <email@hidden>
  • Prev by Date: Cumulus & Web Publisher on OS X
  • Next by Date: Re: Since Apple Listens to this List... [Case Statements]
  • Previous by thread: Re: Since Apple Listens to this List... [Case Statements]
  • Next by thread: Re: Since Apple Listens to this List... [Case Statements]
  • Index(es):
    • Date
    • Thread