Migrated from tips-and-tricks v5
This commit is contained in:
parent
87ad6653d0
commit
ee7da1478a
|
@ -10,12 +10,10 @@ h1. Using reserved words as identifiers
|
||||||
|
|
||||||
h1. Tricks with conditional compilation
|
h1. Tricks with conditional compilation
|
||||||
<pre>
|
<pre>
|
||||||
<code>
|
|
||||||
const someFeature = True
|
const someFeature = True
|
||||||
|
|
||||||
when someFeature:
|
when someFeature:
|
||||||
const someSubFeature = true
|
const someSubFeature = true
|
||||||
else:
|
else:
|
||||||
const someSubFeature = false
|
const someSubFeature = false
|
||||||
</code>
|
|
||||||
</pre>
|
</pre>
|
Loading…
Reference in New Issue