The language referance does not include 'default' .
For example a switch case is often ended by a default value.
Missing this definition in the documentation is confusing.
Do you mean this page of teh Arduino Reference ?
https://docs.arduino.cc/language-reference/en/structure/control-structure/switchCase/
If so, then it includes this example of switch/case
I mean the language keyword category.
switch, case, break are shown but not keyword default.
case else is used in other languages.
Yes much can be learned from examples but keywords
are more effective.
I am sorry, but I still don't know which page that you are referring to. Please post a link to it if it is not the one that I linked to
Bear in mind that none of the Arduino project pages are aimed at providing a complete reference to C++. Their main purpose is to provide a reference to the Arduino specific functions
https://docs.arduino.cc/language-reference/
I am definately refering to the Arduino IDE compiler and an omission from the document.
This is where users of the compiler will look for help.
That is the page that I linked to in my first reply
I am sorry but I don't see what you are complaining about. There is an example showing how to use default and the comment makes it very clear what it does
As I said before, the pages that you are referring to are not a C++ language reference and nor would I expect them to be
I apologize for whatever I did to offend you.
My intent was to complete the Arduino documentation on the Arduino help page on the Arduino web site.
I am not offended, but you make my point yourself when you say
But no harm done

