Skip to content

Commit

Permalink
Merge pull request #14899 from mauro3/m3/scope-doc-v2
Browse files Browse the repository at this point in the history
Fixed whitespace and two typos
  • Loading branch information
simonbyrne committed Feb 1, 2016
2 parents 874b222 + 3051685 commit 309593e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/variables-and-scoping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ changed within their global scope and not from an outside module. ::
# through a qualified access
import A # makes module A available
d = A.a
# A.a = 2 # would error with: "ERROR: type Module has no field a"
# A.a = 2 # would error with: "ERROR: cannot assign variables in other modules"
end

Note that the interactive prompt (aka REPL) is in the global scope of
Expand Down Expand Up @@ -485,7 +485,7 @@ iteration variables::

x = 0
[ x for x=1:3 ]
X # here still equal to 0
x # here still equal to 0

Constants
---------
Expand Down

0 comments on commit 309593e

Please sign in to comment.