| 1 | <p><strong>Note:</strong> The C-like component is not really a language on its own, |
| 2 | it is the basis of many other components.</p> |
| 3 | |
| 4 | <h2>Comments</h2> |
| 5 | <pre><code>// Single line comment |
| 6 | /* Multi-line |
| 7 | comment */</code></pre> |
| 8 | |
| 9 | <h2>Strings</h2> |
| 10 | <pre><code>"foo \"bar\" baz"; |
| 11 | 'foo \'bar\' baz';</code></pre> |
| 12 | |
| 13 | <h2>Numbers</h2> |
| 14 | <pre><code>123 |
| 15 | 123.456 |
| 16 | -123.456 |
| 17 | 1e-23 |
| 18 | 123.456E789 |
| 19 | 0xaf |
| 20 | 0xAF |
| 21 | </code></pre> |
| 22 | |
| 23 | <h2>Functions</h2> |
| 24 | <pre><code>foo(); |
| 25 | Bar(); |
| 26 | _456(); |
| 27 | </code></pre> |