From 239f77ce49fb0a11c6ef2b59825c7e772ebad11e Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 27 Aug 2014 18:15:33 -0400 Subject: docs: first pass removal of Maple IDE info --- docs/source/lang/cpp/goto.rst | 2 +- docs/source/lang/cpp/scope.rst | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'docs/source/lang/cpp') diff --git a/docs/source/lang/cpp/goto.rst b/docs/source/lang/cpp/goto.rst index 2c0b3b0..73dce80 100644 --- a/docs/source/lang/cpp/goto.rst +++ b/docs/source/lang/cpp/goto.rst @@ -44,7 +44,7 @@ be a label. Let's say that we wanted to print ``x`` only if it was very large, say at least 2000. We might want to do this just so anybody watching on a -:ref:`serial monitor ` would know they were in for +serial port monitor would know they were in for a longer wait than usual. We can accomplish this through the use of a ``goto`` statement that skips the printing if ``x`` is less than 2000:: diff --git a/docs/source/lang/cpp/scope.rst b/docs/source/lang/cpp/scope.rst index a270428..20e139f 100644 --- a/docs/source/lang/cpp/scope.rst +++ b/docs/source/lang/cpp/scope.rst @@ -19,7 +19,7 @@ Global and Local Variables -------------------------- A global variable is one that can be "seen" by every function in a -program. In the :ref:`Maple IDE `, any variable declared outside +program. In Wirish, any variable declared outside of a function (like :ref:`setup() ` and :ref:`loop() `) is a global variable. @@ -43,8 +43,7 @@ Example Here is an example sketch (which you can copy into the Maple IDE and run on your Maple) that illustrates the use of global and local variables, as well as declaring variables inside of a ``for`` loop. -Be sure to open a :ref:`serial monitor ` after you -:ref:`verify ` and :ref:`upload ` the sketch:: +Be sure to open a serial port monitor after you upload the sketch:: int globalVar; // any function will see this variable -- cgit v1.2.3