summary refs log tree commit diff stats
path: root/doc/manual.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual.txt')
-rwxr-xr-xdoc/manual.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 36eed6a4a..164410a68 100755
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -1555,7 +1555,6 @@ variables of the same type:
 

 If an initializer is given the type can be omitted: the variable is then of the

 same type as the initializing expression. Variables are always initialized

-

 with a default value if there is no initializing expression. The default

 value depends on the type and is always a zero in binary.

 

@@ -1586,6 +1585,19 @@ The implicit initialization can be avoided for optimization reasons with the
     a {.noInit.}: array [0..1023, char] 

 

 

+

+let statement

+~~~~~~~~~~~~~

+

+A `Let`:idx: statement declares new local and global `single assignment`:idx:

+variables and binds a value to them. The syntax is the of the ``var`` 

+statement, except that the keyword ``var`` is replaced by the keyword ``let``.

+Let variables are not l-values and can thus not be passed to ``var`` parameters

+nor can their address be taken. They cannot be assigned new values.

+

+For let variables the same pragmas are available as for ordinary variables.

+

+

 Const section

 ~~~~~~~~~~~~~