docs: revise branching, classes, index, looping, qa, syntax docs and add concurrency/error-handling nav entries

This commit is contained in:
Bob Nystrom
2014-01-21 05:44:51 +00:00
parent a5c4918a75
commit 781ccf3fb6
9 changed files with 116 additions and 125 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ A boolean value represents truth or falsehood. There are two boolean literals,
Like other scripting languages, Wren has a single numeric type: double-precision floating point. Number literals look like you expect coming from other languages:
:::wren
:::dart
0
1234
-5678
@@ -29,12 +29,12 @@ Numbers are instances of the `Num` class.
Strings are chunks of text. String literals are surrounded in double quotes:
:::wren
:::dart
"hi there"
A couple of escape characters are supported:
:::wren
:::dart
"\n" // Newline.
"\"" // A double quote character.
"\\" // A backslash.