Docs for operators and some other stuff.

This commit is contained in:
Bob Nystrom
2014-04-08 21:18:17 -07:00
parent 3a55acfe1a
commit b2941cbbb6
5 changed files with 70 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ The simplest branching statement, `if` lets you conditionally skip a chunk of co
:::wren
if (ready) IO.print("go!")
That evaluates the parenthesized expression after `if`. If it's true, then the statement after the condition is evaluated. Otherwise it is skipped. Instead of a statement, you can have a block:
That evaluates the parenthesized expression after `if`. If it's true, then the statement after the condition is evaluated. Otherwise it is skipped. Instead of a statement, you can have a [block](syntax.html#blocks):
:::wren
if (ready) {