<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="Tristano Ajmone" />
<meta name="dcterms.date" content="2017-10-24" />
<title>Highlight CSS Theme Example</title>
<link rel="stylesheet" type="text/css" href="hl-theme-boilerplate.css">
<style type="text/css">
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
}
#page-wrap {
width: 1000px;
margin: 0 auto;
}
</style>
</head>
<body class="hl">
<div id="page-wrap">
<h1 id="custom-highlight-css-theme-example">Custom Highlight CSS Theme Example</h1>
<p>This example page uses the “<a href="./hl-theme-boilerplate.css">hl-theme-boilerplate.css</a>” CSS stylesheet created from the <a href="./hl-theme-boilerplate.scss">Sass boilerplate</a>.</p>
<pre class="hl purebasic"><code class="purebasic"><span class="hl lin">1 </span><span class="hl slc">; PureBASIC 5.60 Example</span>
<span class="hl lin">2 </span>
<span class="hl lin">3 </span><span class="hl kwa">For</span> i<span class="hl opt">=</span><span class="hl num">5</span> <span class="hl kwa">To</span> <span class="hl num">1</span> <span class="hl kwa">Step</span> <span class="hl opt">-</span><span class="hl num">1</span>
<span class="hl lin">4 </span> TEXT$ <span class="hl opt">=</span> <span class="hl str">"Iteration number: "</span> <span class="hl opt">+</span> <span class="hl kwc">Str</span>(i) <span class="hl opt">+</span> <span class="hl str">~"</span><span class="hl esc">\n\n</span><span class="hl str">Do you wish to continue?"</span>
<span class="hl lin">5 </span> UserChoice <span class="hl opt">=</span> <span class="hl kwc">MessageRequester</span>(<span class="hl str">"Countdown Dialog"</span>, TEXT$, <span class="hl kwb">#PB_MessageRequester_YesNo</span> <span class="hl opt">|</span> <span class="hl kwb">#PB_MessageRequester_Info</span>)
<span class="hl lin">6 </span> <span class="hl kwa">If</span> UserChoice <span class="hl opt">=</span> <span class="hl kwb">#PB_MessageRequester_No</span>
<span class="hl lin">7 </span> <span class="hl kwa">Break</span>
<span class="hl lin">8 </span> <span class="hl kwa">EndIf</span>
<span class="hl lin">9 </span><span class="hl kwa">Next</span>
</code></pre>
</div>
</body>
</html>