aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/lang/cpp')
-rw-r--r--docs/source/lang/cpp/goto.rst2
-rw-r--r--docs/source/lang/cpp/scope.rst5
2 files changed, 3 insertions, 4 deletions
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 <ide-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 <ide>`, any variable declared outside
+program. In Wirish, any variable declared outside
of a function (like :ref:`setup() <lang-setup>` and :ref:`loop()
<lang-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 <ide-serial-monitor>` after you
-:ref:`verify <ide-verify>` and :ref:`upload <ide-upload>` the sketch::
+Be sure to open a serial port monitor after you upload the sketch::
int globalVar; // any function will see this variable