Migrated from tips-and-tricks v3

This commit is contained in:
Araq 2010-09-14 03:11:12 -07:00
parent 16d6d7ba94
commit 4367a5431c
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ h1. Using reserved words as identifiers
* You can use the slanted quote string syntax if you need to use a reserved word as an identifier: <code>var `type`: int</code>
h1. Tricks with conditional compilation
<pre>
<pre><code>
const someFeature = True
when someFeature:
const someSubFeature = true
else:
const someSubFeature = false
</pre>
</code></pre>