diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-01-27 03:19:42 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-01-27 03:19:42 +0100 |
commit | 0a998d14a22bcfff622e81cae8798126d5a29366 (patch) | |
tree | 9fa6d86baaa38bab2223d78ec5e8b2ba5c0dc97e | |
parent | ed6485b7c72cf1d1c0ce1a329677a47f8840098a (diff) | |
parent | 82c83078a91acc3ce25572e28096b0b4bbe8d67c (diff) |
Merge pull request #987 from timw4mail/develop
Added Try/Catch example to styleguide
-rw-r--r-- | user_guide_src/source/general/styleguide.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user_guide_src/source/general/styleguide.rst b/user_guide_src/source/general/styleguide.rst index b3dc08871..d8bdd0531 100644 --- a/user_guide_src/source/general/styleguide.rst +++ b/user_guide_src/source/general/styleguide.rst @@ -441,6 +441,13 @@ same level as the control statement that "owns" them. // ... } } + + try { + // ... + } + catch() { + // ... + } **CORRECT**:: @@ -470,6 +477,15 @@ same level as the control statement that "owns" them. // ... } } + + try + { + // ... + } + catch() + { + // ... + } Bracket and Parenthetic Spacing =============================== |