Jimbo: Thanks!
Moderator: Please add this to the Arduino Reference for comments "//".
Moderator: Also, the Arduino Reference says abs() returns -x: if x is less than 0. I think this is an error.
warren631:
Jimbo: Thanks!
Moderator: Please add this to the Arduino Reference for comments "//".
Its not really to do with comments, it's the C-preprocessor that handles all the #defines
and #ifdefs - a backslash at the end of any line makes the next line a continuation of the current line.
This is useful for defining large #define macros, since a #define has to be on one "line".
However in the rest of the C language newlines aren't important so the backslash often
has no effect except in #defines and one-line comments. I think you can put long strings
onto several lines using it too.