ezieragabriel / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Typo in StringLength.ino example, "Serial.ptintln();" #1028

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Arduino/build/shared/examples/08.Strings/StringLength/StringLength.ino

has a typo on line 29.

Serial.ptintln();

should be

Serial.println();

Original issue reported on code.google.com by showard...@gmail.com on 3 Sep 2012 at 2:40

GoogleCodeExporter commented 9 years ago
I'm not seeing that in .../examples/8.Strings/StringLength.

http://arduino.cc/en/Tutorial/StringLengthTrim also looks correct.

You have left out the new issue template items like:

What version of the Arduino software are you using? 
On what operating system?

Original comment by jaguar3s...@gmail.com on 4 Sep 2012 at 8:06

GoogleCodeExporter commented 9 years ago
It's in the github account:
https://github.com/arduino/Arduino/blob/master/build/shared/examples/08.Strings/
StringLength/StringLength.ino#L26

Also in the source code download:
http://arduino.cc/en/Main/Software

in windows, mac, and linux downloads too. All versions newer than April 6, 2012.

Here is the exact commit where the typo showed up:
https://github.com/arduino/Arduino/commit/412f261e41e2ff26a63876a3dd56a02917c575
ef

Original comment by showard...@gmail.com on 4 Sep 2012 at 8:40

GoogleCodeExporter commented 9 years ago
The error is right on the page at:
http://arduino.cc/en/Tutorial/StringLengthTrim

"  Serial.println("\n\nString  length():");
  Serial.ptintln();
}"

is incorrect

Original comment by showard...@gmail.com on 4 Sep 2012 at 8:46

GoogleCodeExporter commented 9 years ago
Please accept my apology. The web page is indeed incorrect.
The version I have on Mac OSX  in 
Arduino.app/Contents/Resources/Java/examples/8.Strings/StringLength/ from Apr 8 
18:02
 is quite different from the web page! Arrgh!

Original comment by jaguar3s...@gmail.com on 4 Sep 2012 at 10:01