Go Down

Topic: } Error with code (Read 3078 times) previous topic - next topic


Ctrl T is the IDE autoformat tool and If you use it frequently
 and you miss a curly brace.. This message will show just above the compiler output window.\
Autoformat failed; Too Many 'Right' / 'Left' Curly Braces.
left is the opening one and right is the closing curly brace..

--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard


[font=TyponineSans Regular 18] there are "helpers" now that highlight the matching opening or closing bracket if you select one. [/font]
Helpers or not, I find that putting each brace on its own line and indenting the code between them much easier, but at least we have the choice.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.


@UKHeliBob: I still use that "brace on its own line" format if working with complex code. My web client example has the braces on their own line for ease of reading and checking for mismatched braces.

Go Up