1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<span class="hljs-string">"this is a string"</span>
<span class="hljs-string">"this is how we \"escape quotes\" in a string"</span>
<span class="hljs-string">"this is how "</span> | <span class="hljs-string">"we concatenate strings"</span>
<span class="hljs-string">///this is also
a string///</span>
<span class="hljs-string">///to escape forward slashes (/) in a string, we
use an even number in the middle //// or an odd number
(at least 3) at the end///</span>
<span class="hljs-comment">-- this is a comment</span>
<span class="hljs-comment">-* this is
also a comment *-</span>
<span class="hljs-comment">-* two comments *-</span> <span class="hljs-number">2</span> + <span class="hljs-number">2</span> <span class="hljs-comment">-* on the same line *-</span>
<span class="hljs-keyword">for</span> i <span class="hljs-keyword">from</span> <span class="hljs-number">0</span> <span class="hljs-keyword">to</span> <span class="hljs-number">10</span> <span class="hljs-keyword">do</span> <span class="hljs-built_in">print</span> <span class="hljs-type">QQ</span>
<span class="hljs-literal">end</span>
|