Lots of work on docs.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user