diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-30 12:18:46 +0100 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2014-01-15 22:23:15 +0100 |
commit | db7d0e6a66f1c9fe45d4e584403f450a22fd90a3 (patch) | |
tree | 5cd680de4f11d249c6ea166547fcfef33b21771b /doc | |
parent | 0132f350af914d5b9c64fe67c98f0641c9701a16 (diff) | |
download | Nim-db7d0e6a66f1c9fe45d4e584403f450a22fd90a3.tar.gz |
Adds using statement to the one and only true index.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index 2d8feca17..88a7f3815 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -2206,12 +2206,12 @@ Instead of: Using statement --------------- -The using statement provides syntactic convenience for procs that heavily use a -single contextual parameter. When applied to a variable or a constant, it will -instruct Nimrod to automatically consider the used symbol as a hidden leading -parameter for any procedure calls, following the using statement in the current -scope. Thus, it behaves much like the hidden `this` parameter available in some -object-oriented programming languages. +The `using statement`:idx: provides syntactic convenience for procs that +heavily use a single contextual parameter. When applied to a variable or a +constant, it will instruct Nimrod to automatically consider the used symbol as +a hidden leading parameter for any procedure calls, following the using +statement in the current scope. Thus, it behaves much like the hidden `this` +parameter available in some object-oriented programming languages. .. code-block:: nimrod |