diff options
author | Araq <rumpf_a@web.de> | 2014-12-25 17:22:41 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-25 17:22:41 +0100 |
commit | 9280473eb149eba2bd7fda1c3b2925a8ce7831e8 (patch) | |
tree | c7ff4658986a0812ac7067d10ae04adae7ac9370 /doc/manual/procs.txt | |
parent | 8325c711729403d7dbe908be1946eb1af8f0f266 (diff) | |
download | Nim-9280473eb149eba2bd7fda1c3b2925a8ce7831e8.tar.gz |
fixes #1120
Diffstat (limited to 'doc/manual/procs.txt')
-rw-r--r-- | doc/manual/procs.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/manual/procs.txt b/doc/manual/procs.txt index 156e96f1b..2ebbe494d 100644 --- a/doc/manual/procs.txt +++ b/doc/manual/procs.txt @@ -200,6 +200,8 @@ executable code. Do notation ----------- +**Note:** The future of the ``do`` notation is uncertain. + As a special more convenient notation, proc expressions involved in procedure calls can use the ``do`` keyword: @@ -224,11 +226,6 @@ More than one ``do`` block can appear in a single call: do: # code to undo it -For compatibility with ``stmt`` templates and macros, the ``do`` keyword can be -omitted if the supplied proc doesn't have any parameters and return value. -The compatibility works in the other direction too as the ``do`` syntax can be -used with macros and templates expecting ``stmt`` blocks. - Nonoverloadable builtins ------------------------ |