First pass at docs for modules.

This commit is contained in:
Bob Nystrom
2015-02-18 07:55:09 -08:00
parent b2ca4c0381
commit ca14dffab4
4 changed files with 209 additions and 5 deletions

View File

@ -28,7 +28,7 @@ same name in the same scope. So if you do:
Wren tells you:
:::text
[script.wren line 2] Error on 'a': Global variable is already defined.
[script.wren line 2] Error on 'a': Top-level variable is already defined.
Note that it does this before it executes *any* code. Unlike some other
scripting languages, Wren tries to help you find your errors as soon as