pamam:
Larryd, I've never run across CRTL T or CMD T. I'm guessing that they are some form of formatting with indentation to alert one of the missing parentheses.
The Arduino IDE has an auto-format feature for your code. You can use it via the Tools > Auto Format menu option, or the keyboard shortcuts larryd shared. If you're using the Arduino Web Editor, the keyboard shortcut is Ctrl + B.
Even if you don't care about proper code formatting, please always do this on your code before sharing it on the forum as a courtesy to the people you're asking for help. It makes it much easier for us to quickly review code.
Please use code tags when you post code or warning/error messages. To do this, click the </> button on the forum toolbar, then paste the text you want to be in the code tags. Finally, move the cursor out of the code tags before adding any additional text you don't want to be in the code tags. If your browser doesn't show the posting toolbar, then you can manually add the code tags like this:
[code]
[color=blue]// your code is here[/color]
[/code]
The reason for doing this is that, without code tags, the forum software can interpret parts of your code as markup (the italics in your code above for example), leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier for us to read your code and to copy it to the IDE or editor.
Using code tags and other important information is explained in the "How to use this forum" post. Please read it.
pamam:
it does not do anything. Nothing responds on the Serial Monitor.
Which Arduino board are you using?
pamam:
The thing I found out which bothered me most is that the error messages are almost not understandable to a newbie to Arduino and a C++ programmer that gave it up about 20+ years ago.
The Arduino boards platforms use standard compilers (typically GCC, though the board platform author could use any compilation tool they like). The compilation error messages are from the standard compiler and is exactly what you'd see even if you weren't using the Arduino framework and Arduino development software.
pamam:
I would also like to make a recommendation to add the messages into the Serial Monitor or a separate window so we have more room to expand the font size so we can see what we are doing. It's tuff enough on us 70+ years old folks as it is.
It wouldn't make sense to display compiler output in the Serial Monitor, since this is not serial output. Perhaps it would be nice to allow the option of "undocking" the console pane of the Arduino IDE window. However, the Arduino IDE is centered around being very beginner friendly, with a gentle learning curve. Each added UI element makes the software less beginner friendly, so we need to be careful to only add UI features that are really needed. You can resize the console pane by dragging its top border upward, so you are welcome to make it as big as you like. Of course, this comes at the expense of a smaller editor pane.