diff options
author | Araq <rumpf_a@web.de> | 2012-07-20 07:52:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-07-20 07:52:04 +0200 |
commit | 43f057c5aa23cf2cc441906737cd53fda90811c7 (patch) | |
tree | 4e1063d29f55c822b2a698e79bbd5ed2cc4dda5c /doc | |
parent | 695e9d5fb44f09deea491bd216c78ea7733c0c67 (diff) | |
download | Nim-43f057c5aa23cf2cc441906737cd53fda90811c7.tar.gz |
got rid of some mAddU64 etc. magics
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/manual.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index cd6828e5f..ddfe594a8 100755 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -1999,14 +1999,18 @@ exception handler may raise another exception. If the exception is not handled, it is propagated through the call stack. This means that often the rest of the procedure - that is not within a ``finally`` clause - is not executed (if an exception occurs). + + +Except and finally statements +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `except`:idx: and `finally`:idx: can also be used as a stand-alone statements. Any statements following them in the current block will be considered to be in an implicit try block: .. code-block:: nimrod - var f = fopen("numbers.txt", "r") - finally: fcsole(f) + var f = open("numbers.txt") + finally: close(f) ... |