Mercurial Hosting > luan
comparison website/src/manual.html.luan @ 490:ddee9f5167d8
minor documentation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 May 2015 12:59:37 -0600 |
parents | 7e9fcfbf22ec |
children | 4dc9cb26a3a8 |
comparison
equal
deleted
inserted
replaced
489:1d17f033fe0e | 490:ddee9f5167d8 |
---|---|
2250 | 2250 |
2251 | 2251 |
2252 <h4 <%=heading_options%> ><a name="Luan.try"><tt>Luan.try (t)</tt></a></h4> | 2252 <h4 <%=heading_options%> ><a name="Luan.try"><tt>Luan.try (t)</tt></a></h4> |
2253 | 2253 |
2254 <p> | 2254 <p> |
2255 Implements try-catch as found in other languages where each block is in table <tt>t</tt>. | 2255 Implements try-catch as found in other languages where each block is in table <tt>t</tt>. <tt>t[1]</tt> is the "try" block. The <tt>t.catch</tt> and <tt>t.finally</tt> blocks are optional. Returns the result of the "try" block or the "catch" block. |
2256 | 2256 |
2257 <p> | 2257 <p> |
2258 Example use: | 2258 Example use: |
2259 | 2259 |
2260 <p><tt><pre> | 2260 <p><tt><pre> |