Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Things go awry around the statement waitTime = 200;, essentially due to misplaced braces. Commented Dec 23, 2016 at 11:17
  • 1
    @Bathsheba: I don't think it has anything to do with misplaced braces, mainly because I can't find any. Instead, the case itself is wildly misplaced. Commented Dec 23, 2016 at 11:23
  • What are you going to do a year from now when you have to maintain this unreadable code? <g> Write functions; keep the code in each case small. Commented Dec 23, 2016 at 14:15