Skip to content

Commit

Permalink
Update reference/syntax.rst
Browse files Browse the repository at this point in the history
- Fixed missing global keyword in Scope Rules section;
- Added Types reference link to Native Data Types section.
  • Loading branch information
paulofreitas committed Feb 11, 2013
1 parent cbcd090 commit de63fad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reference/syntax.rst
Expand Up @@ -134,13 +134,16 @@ use the `global` keyword.
var foo;

function test() {
global foo;
++foo; // changes the variable from outer scope
}

Native Data Types
-----------------

Examples of construction of native data types in Clever. For full reference (methods, properties, etc) please refer to: // TODO(muriloadriano): url here
Examples of construction of native data types in Clever. For full reference (methods, properties, etc) please refer to: `Types`_

.. _Types: http://clever-lang.github.com/doc/reference/types/index.html

- String

Expand Down

0 comments on commit de63fad

Please sign in to comment.