Add Statements
[inform-resources.git] / informqr / informqr.md
index b91f17e40744d7f528144c62704d4ce4b47f7724..eea256baa78e9c8df3aab8b3c611da1b1405a515 100644 (file)
@@ -283,4 +283,23 @@ To a routine:
 To a string:
 
     string.print()
-    string.print_to_array(array)
\ No newline at end of file
+    string.print_to_array(array)
+
+Statements
+----------
+
+Each *statement* is terminated by a semi-colon ";".
+
+A *statement_block* is a single *statement* or a series of 
+*statements* enclosed in braces {...}.
+
+An exclamation "!" starts a comment - rest of line ignored.
+
+A common statement is the assignment:
+
+    variable = expr ;
+
+There are two forms of multiple assignment:
+
+    variable = variable = ... = expr ;
+    variable = expr, variable = expr, ... ;
\ No newline at end of file