presentations/highlight-js/test/markup/cos/basic.expect.txt

8 lines
1 KiB
Text
Raw Permalink Normal View History

2018-12-07 08:48:05 -06:00
<span class="hljs-keyword">SET</span> test = <span class="hljs-number">1</span>
<span class="hljs-keyword">set</span> <span class="hljs-symbol">^global</span> = <span class="hljs-number">2</span>
<span class="hljs-keyword">Write</span> <span class="hljs-string">"Current date """</span>, <span class="hljs-built_in">$ztimestamp</span>, <span class="hljs-string">""", result: "</span>, test + <span class="hljs-symbol">^global</span> = <span class="hljs-number">3</span>
<span class="hljs-keyword">if</span> (<span class="hljs-symbol">^global</span> = <span class="hljs-number">2</span>) {
<span class="hljs-keyword">do</span> <span class="hljs-keyword">##class</span>(Cinema.Utils).AddShow(<span class="hljs-string">"test"</span>) <span class="hljs-comment">// line comment</span>
}
<span class="hljs-keyword">d</span>:(<span class="hljs-symbol">^global</span> = <span class="hljs-number">2</span>) <span class="hljs-built_in">..thisClassMethod</span>(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-string">"test"</span>)