diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-30 13:34:20 +0100 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2014-01-15 22:23:19 +0100 |
commit | 3cf46c2defb9ef92c7f7321349e41fdd3f93cc5f (patch) | |
tree | fbfb6332549ab71b4c01712702d4b1f9ecb90854 /doc | |
parent | 0029832ba1797cf6c78defd9ece3d972929864b6 (diff) | |
download | Nim-3cf46c2defb9ef92c7f7321349e41fdd3f93cc5f.tar.gz |
Documents wrapping named arguments in curly braces.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/subexes.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/subexes.txt b/doc/subexes.txt index 3565dbf43..10e0f4cc1 100644 --- a/doc/subexes.txt +++ b/doc/subexes.txt @@ -14,7 +14,9 @@ Thanks to its conditional construct ``$[0|1|2|else]`` it supports Notation meaning ===================== ===================================================== ``$#`` use first or next argument -``$name`` use named argument +``$name`` use named argument, you can wrap the named argument + in curly braces (eg. ``${name}``) to separate it from + the next characters. ``$1`` use first argument ``$-1`` use last argument ``${1..3}`` use arguments 1 to 3 |