diff options
author | Marti Bolivar <mbolivar@mit.edu> | 2010-11-29 01:49:26 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@mit.edu> | 2010-11-29 01:49:26 -0500 |
commit | 078edc158da7906ba72e7e6528e1a811e07270e7 (patch) | |
tree | 1bc7b2e8137fb5ebfc7b59d59294d7adb9e95468 /docs/source/lang/scope.rst | |
parent | 5e587be27a7c3bd854b686952a5c9637a2432ff0 (diff) | |
download | librambutan-078edc158da7906ba72e7e6528e1a811e07270e7.tar.gz librambutan-078edc158da7906ba72e7e6528e1a811e07270e7.zip |
Finished converting the Arduino docs
Diffstat (limited to 'docs/source/lang/scope.rst')
-rw-r--r-- | docs/source/lang/scope.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/lang/scope.rst b/docs/source/lang/scope.rst index 8e8bb13..7b65bab 100644 --- a/docs/source/lang/scope.rst +++ b/docs/source/lang/scope.rst @@ -2,8 +2,8 @@ .. _lang-scope: -Variable Scope -============== +Scope +===== Variables in the C++ programming language, which Maple uses (all of your sketches are C++ programs in disguise), have a property called @@ -25,8 +25,8 @@ of a function (like :ref:`setup() <lang-setup>` and :ref:`loop() A local variable can only be "seen" inside of a particular function. You can declare a variable to be local to a function by declaring it -inside of the :ref:`curly braces <lang-braces>` which enclose that -function. +inside of the :ref:`curly braces <lang-curly-braces>` which enclose +that function. When programs start to get larger and more complex, local variables are a useful way to ensure that a function has exclusive access to its |