Arduino undocumented

Hi, i an relative new to Arduino..., but what saddens me a little bit, and what also somewhat discouraging
is that there are apparently some undocumented options.

It would be nice to have the "Arduino Refenence" completed.

Example 1:

stopping the the "Arduino loop-function": just type "exit (0);" at the end of your code.

Example 2:

Serial.read takes options, even the Reference mentions otherwise.
Serial.read() - '0' , makes SerialMonitor returning a '0' instead of an ASCII - "48"

McErroneous:
stopping the the "Arduino loop-function": just type "exit (0);" at the end of your code.

You should not need to stop the loop() function.

...R

What actually happens to the hardware if you exit the loop()?

Is it the end of the world as we know it?

Weedpharma

It puts Leonardo in a coma and you can't upload without resetting manually. It's better to go into an endless loop when you want to stop doing things.

while(true);