|
|
Line 33: |
Line 33: |
|
| |
|
| ==Sample patters== | | ==Sample patters== |
|
| |
| ===Constant expressions===
| |
| There are two ways to specify string literals:<br>
| |
| 'text' - use '' to insert a ' (e.g. 'her''s')<br>
| |
| or<br>
| |
| "text" - use \" to insert a " (e.g. "a \"quotation\"")
| |
|
| |
| Number literals are simply written as numbers:<br>
| |
| 1234<br>
| |
| <br>
| |
| There are also boolean constants:<br>
| |
| true<br>
| |
| false
| |
|
| |
|
| ==Objects== | | ==Objects== |