ZealOS/docs/Misc/OSTestSuite.ZC.html
2021-12-11 06:10:58 -05:00

1858 lines
257 KiB
HTML
Executable file

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
<meta name="generator" content="ZealOS V1.07">
<style type="text/css">
body {background-color:#1f1f1f;}
.cF0{color:#e3e3e3;background-color:#1f1f1f;}
.cF1{color:#4f84a6;background-color:#1f1f1f;}
.cF2{color:#73a255;background-color:#1f1f1f;}
.cF3{color:#297582;background-color:#1f1f1f;}
.cF4{color:#b34f4b;background-color:#1f1f1f;}
.cF5{color:#8a52c3;background-color:#1f1f1f;}
.cF6{color:#b7822f;background-color:#1f1f1f;}
.cF7{color:#444444;background-color:#1f1f1f;}
.cF8{color:#6d6d6d;background-color:#1f1f1f;}
.cF9{color:#94bfde;background-color:#1f1f1f;}
.cFA{color:#a1ce97;background-color:#1f1f1f;}
.cFB{color:#6db4be;background-color:#1f1f1f;}
.cFC{color:#e88e88;background-color:#1f1f1f;}
.cFD{color:#ca94e8;background-color:#1f1f1f;}
.cFE{color:#d4b475;background-color:#1f1f1f;}
.cFF{color:#1f1f1f;background-color:#1f1f1f;}
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
<a name="l1"></a><span class=cF9>I64</span><span class=cF0> ts_i;
<a name="l2"></a></span><span class=cF1>F64</span><span class=cF0> ts_t0;
<a name="l3"></a>
<a name="l4"></a></span><span class=cF1>U0</span><span class=cF0> TS(</span><span class=cF1>U8</span><span class=cF0> *desc)
<a name="l5"></a>{</span><span class=cF2>//We must set these because an app can call </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KMisc.ZC.html#l289"><span class=cF4>ProgressBarsReset</span></a><span class=cF2>.</span><span class=cF0>
<a name="l6"></a> </span><span class=cF1>U8</span><span class=cF0> *st = </span><span class=cF5>MStrPrint</span><span class=cF0>(</span><span class=cF6>&quot;%d. %s&quot;</span><span class=cF0>, ts_i, desc);
<a name="l7"></a>
<a name="l8"></a> </span><span class=cF1>if</span><span class=cF0> (*desc)
<a name="l9"></a> </span><span class=cFB>progress3_max</span><span class=cF0> = </span><span class=cFE>1</span><span class=cF0>;
<a name="l10"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l11"></a> </span><span class=cFB>progress3_max</span><span class=cF0> = </span><span class=cFE>0</span><span class=cF0>;
<a name="l12"></a> </span><span class=cF5>StrPrint</span><span class=cF0>(</span><span class=cFB>progress3_desc</span><span class=cF0>, </span><span class=cF6>&quot;%*hc%s&quot;</span><span class=cF0>,
<a name="l13"></a> </span><span class=cF7>(</span><span class=cF3>PROGRESS_DESC_LEN</span><span class=cF0> - </span><span class=cF5>StrLen</span><span class=cF0>(st)</span><span class=cF7>)</span><span class=cF0> &gt;&gt; </span><span class=cFE>1</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, st);
<a name="l14"></a> </span><span class=cF5>Free</span><span class=cF0>(st);
<a name="l15"></a> </span><span class=cFB>progress4</span><span class=cF0> = ts_i++;
<a name="l16"></a> </span><span class=cFB>progress4_max</span><span class=cF0> = </span><span class=cFE>171</span><span class=cF0>;
<a name="l17"></a> </span><span class=cFB>progress4_t0</span><span class=cF0> = ts_t0;
<a name="l18"></a> *</span><span class=cFB>progress4_desc</span><span class=cF0> = </span><span class=cFE>0</span><span class=cF0>;
<a name="l19"></a> </span><span class=cF5>RegExe</span><span class=cF0>(</span><span class=cF6>&quot;ZealOS/OSTestSuite&quot;</span><span class=cF0>);
<a name="l20"></a>}
<a name="l21"></a>
<a name="l22"></a></span><span class=cF1>U0</span><span class=cF0> TSFile(</span><span class=cF1>U8</span><span class=cF0> *name, </span><span class=cF9>I64</span><span class=cF0> mS=</span><span class=cFE>750</span><span class=cF0>)
<a name="l23"></a>{
<a name="l24"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;%s\&quot;;Sleep(%d);\n&quot;</span><span class=cF0>, name, mS);
<a name="l25"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l26"></a>}
<a name="l27"></a>
<a name="l28"></a></span><span class=cF1>U0</span><span class=cF0> TSFileChar(</span><span class=cF1>U8</span><span class=cF0> *name, </span><span class=cF9>I64</span><span class=cF0> mS=</span><span class=cFE>750</span><span class=cF0>, </span><span class=cF9>I64</span><span class=cF0> ch=</span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cF1>Bool</span><span class=cF0> wait=</span><span class=cF3>TRUE</span><span class=cF0>)
<a name="l29"></a>{
<a name="l30"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l31"></a> </span><span class=cF1>if</span><span class=cF0> (wait)
<a name="l32"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;%s\&quot;;\n&quot;</span><span class=cF0>, name);
<a name="l33"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l34"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;%s\&quot;;\n&quot;</span><span class=cF0>, name);
<a name="l35"></a> </span><span class=cF5>Sleep</span><span class=cF0>(mS);
<a name="l36"></a> </span><span class=cF1>if</span><span class=cF0> (ch)
<a name="l37"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, ch, </span><span class=cFE>0</span><span class=cF0>);
<a name="l38"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l39"></a>}
<a name="l40"></a>
<a name="l41"></a></span><span class=cF2>/*</span><span class=cF0>
<a name="l42"></a></span><span class=cF2>U0 DoMouseDemo()</span><span class=cF0>
<a name="l43"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l44"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Graphics/MouseDemo\&quot;;\n&quot;);</span><span class=cF0>
<a name="l45"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l46"></a></span><span class=cF2>U0 DoPullDownMenu()</span><span class=cF0>
<a name="l47"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l48"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/PullDownMenu\&quot;;\n&quot;);</span><span class=cF0>
<a name="l49"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l50"></a></span><span class=cF2>U0 DoTicTacToe()</span><span class=cF0>
<a name="l51"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l52"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Games/TicTacToe\&quot;;\n&quot;);</span><span class=cF0>
<a name="l53"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l54"></a></span><span class=cF2>U0 DoLife()</span><span class=cF0>
<a name="l55"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l56"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Graphics/Life\&quot;;\n&quot;);</span><span class=cF0>
<a name="l57"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l58"></a></span><span class=cF2>U0 DoZing()</span><span class=cF0>
<a name="l59"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l60"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Games/Zing\&quot;;\n&quot;);</span><span class=cF0>
<a name="l61"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l62"></a></span><span class=cF2>U0 DoSlider()</span><span class=cF0>
<a name="l63"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l64"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Graphics/Slider\&quot;;\n&quot;);</span><span class=cF0>
<a name="l65"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l66"></a></span><span class=cF2>U0 DoScrollBars()</span><span class=cF0>
<a name="l67"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l68"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Graphics/ScrollBars\&quot;;\n&quot;);</span><span class=cF0>
<a name="l69"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l70"></a></span><span class=cF2>U0 DoWhap()</span><span class=cF0>
<a name="l71"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l72"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Games/Whap\&quot;;\n&quot;);</span><span class=cF0>
<a name="l73"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l74"></a></span><span class=cF2>U0 DoDataBase()</span><span class=cF0>
<a name="l75"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l76"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Disk/DataBase\&quot;;\n&quot;);</span><span class=cF0>
<a name="l77"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l78"></a></span><span class=cF2>U0 DoDiskRaw()</span><span class=cF0>
<a name="l79"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l80"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Disk/DiskRaw\&quot;;\n&quot;);</span><span class=cF0>
<a name="l81"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l82"></a></span><span class=cF2>U0 DoTimeClock()</span><span class=cF0>
<a name="l83"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l84"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Apps/TimeClock\&quot;;\n&quot;);</span><span class=cF0>
<a name="l85"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l86"></a></span><span class=cF2>U0 DoLectures()</span><span class=cF0>
<a name="l87"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l88"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Lectures\&quot;;\n&quot;);</span><span class=cF0>
<a name="l89"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l90"></a></span><span class=cF2>U0 DoInFile()</span><span class=cF0>
<a name="l91"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l92"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/InFile\&quot;;\n&quot;);</span><span class=cF0>
<a name="l93"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l94"></a></span><span class=cF2>U0 DoSpy()</span><span class=cF0>
<a name="l95"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l96"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/Spy\&quot;;\n&quot;);</span><span class=cF0>
<a name="l97"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l98"></a></span><span class=cF2>U0 DoUnusedDefine()</span><span class=cF0>
<a name="l99"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l100"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/DolDoc/UnusedDefine\&quot;;\n&quot;);</span><span class=cF0>
<a name="l101"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l102"></a></span><span class=cF2>U0 DoOnceDemo()</span><span class=cF0>
<a name="l103"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l104"></a> </span><span class=cF2>XTalkWait(task, &quot;#include \&quot;::/Demo/OnceDemo\&quot;;\n&quot;);</span><span class=cF0>
<a name="l105"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l106"></a></span><span class=cF2>*/</span><span class=cF0>
<a name="l107"></a>
<a name="l108"></a></span><span class=cF1>U0</span><span class=cF0> DoRandDemo()
<a name="l109"></a>{
<a name="l110"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l111"></a>
<a name="l112"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/RandDemo\&quot;;\n&quot;</span><span class=cF0>);
<a name="l113"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot; &quot;</span><span class=cF0>);
<a name="l114"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot; &quot;</span><span class=cF0>);
<a name="l115"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l116"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l117"></a>}
<a name="l118"></a>
<a name="l119"></a></span><span class=cF1>U0</span><span class=cF0> DoLowPassFilter()
<a name="l120"></a>{
<a name="l121"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l122"></a>
<a name="l123"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/LowPassFilter\&quot;;\n&quot;</span><span class=cF0>);
<a name="l124"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l125"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l126"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l127"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l128"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l129"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l130"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l131"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l132"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l133"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l134"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l135"></a>}
<a name="l136"></a>
<a name="l137"></a></span><span class=cF1>U0</span><span class=cF0> DoMathAudioDemo()
<a name="l138"></a>{
<a name="l139"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l140"></a>
<a name="l141"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/MathAudioDemo\&quot;;\n&quot;</span><span class=cF0>);
<a name="l142"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l143"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l144"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l145"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l146"></a>
<a name="l147"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l148"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l149"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l150"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l151"></a>
<a name="l152"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l153"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l154"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l155"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l156"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l157"></a>}
<a name="l158"></a>
<a name="l159"></a></span><span class=cF1>U0</span><span class=cF0> DoMessageLoop()
<a name="l160"></a>{
<a name="l161"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l162"></a>
<a name="l163"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/MessageLoop\&quot;;\n&quot;</span><span class=cF0>);
<a name="l164"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l165"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l166"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l167"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l168"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l169"></a>}
<a name="l170"></a>
<a name="l171"></a></span><span class=cF1>U0</span><span class=cF0> DoASCIIOrgan()
<a name="l172"></a>{
<a name="l173"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l174"></a>
<a name="l175"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Sound/ASCIIOrgan\&quot;;\n&quot;</span><span class=cF0>);
<a name="l176"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l177"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'A'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l178"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l179"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'B'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l180"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l181"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'C'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l182"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l183"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l184"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l185"></a>}
<a name="l186"></a>
<a name="l187"></a></span><span class=cF1>U0</span><span class=cF0> DoDoodle()
<a name="l188"></a>{
<a name="l189"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l190"></a>
<a name="l191"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Doodle\&quot;;\n&quot;</span><span class=cF0>);
<a name="l192"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l193"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l194"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l195"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l196"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l197"></a>}
<a name="l198"></a>
<a name="l199"></a></span><span class=cF1>U0</span><span class=cF0> DoSpeedLine()
<a name="l200"></a>{
<a name="l201"></a> </span><span class=cF9>I64</span><span class=cF0> i = </span><span class=cF3>PURPLE</span><span class=cF0> + </span><span class=cFE>1</span><span class=cF0>; </span><span class=cF2>//+1 because TRANSPARENT</span><span class=cF0>
<a name="l202"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l203"></a>
<a name="l204"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Speedline\&quot;;\n&quot;</span><span class=cF0>);
<a name="l205"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l206"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l207"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l208"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l209"></a> </span><span class=cF1>while</span><span class=cF0> (i--)
<a name="l210"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l211"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l212"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task);
<a name="l213"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l214"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l215"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l216"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l217"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l218"></a>}
<a name="l219"></a>
<a name="l220"></a></span><span class=cF1>U0</span><span class=cF0> DoKeyBitMap()
<a name="l221"></a>{
<a name="l222"></a> </span><span class=cF9>I64</span><span class=cF0> i_sc = </span><span class=cF5>Char2ScanCode</span><span class=cF0>(</span><span class=cF6>'i'</span><span class=cF0>);
<a name="l223"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/KeyBitMap\&quot;;\n&quot;</span><span class=cF0>);
<a name="l224"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l225"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, i_sc);
<a name="l226"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l227"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, i_sc);
<a name="l228"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l229"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l230"></a>}
<a name="l231"></a>
<a name="l232"></a></span><span class=cF1>U0</span><span class=cF0> DoDigits()
<a name="l233"></a>{
<a name="l234"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l235"></a>
<a name="l236"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Digits\&quot;;\n&quot;</span><span class=cF0>);
<a name="l237"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l238"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l239"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l240"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l241"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l242"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'1'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l243"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l244"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l245"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l246"></a>}
<a name="l247"></a>
<a name="l248"></a></span><span class=cF1>U0</span><span class=cF0> DoSymmetry()
<a name="l249"></a>{
<a name="l250"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l251"></a>
<a name="l252"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Symmetry\&quot;;\n&quot;</span><span class=cF0>);
<a name="l253"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
<a name="l254"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l255"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l256"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l257"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l258"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l259"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l260"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
<a name="l261"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l262"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l263"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l264"></a>}
<a name="l265"></a>
<a name="l266"></a></span><span class=cF1>U0</span><span class=cF0> DoBSpline()
<a name="l267"></a>{
<a name="l268"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l269"></a>
<a name="l270"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/BSpline\&quot;;\n&quot;</span><span class=cF0>);
<a name="l271"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>);
<a name="l272"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
<a name="l273"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>);
<a name="l274"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l275"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l276"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l277"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l278"></a>}
<a name="l279"></a>
<a name="l280"></a></span><span class=cF1>U0</span><span class=cF0> DoScreenCapture()
<a name="l281"></a>{
<a name="l282"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l283"></a>
<a name="l284"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/ScreenCapture\&quot;;\n&quot;</span><span class=cF0>);
<a name="l285"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l286"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l287"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l288"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l289"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l290"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l291"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l292"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>&quot;~/DemoScreenShot.GR*&quot;</span><span class=cF0>);
<a name="l293"></a>}
<a name="l294"></a>
<a name="l295"></a></span><span class=cF1>U0</span><span class=cF0> DoStadium()
<a name="l296"></a>{
<a name="l297"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l298"></a>
<a name="l299"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Stadium/Stadium\&quot;;\n&quot;</span><span class=cF0>);
<a name="l300"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l301"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l302"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l303"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>320</span><span class=cF0>, </span><span class=cFE>20</span><span class=cF0>);
<a name="l304"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l305"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>520</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l306"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l307"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l308"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l309"></a>}
<a name="l310"></a>
<a name="l311"></a></span><span class=cF1>U0</span><span class=cF0> DoPalette()
<a name="l312"></a>{
<a name="l313"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l314"></a>
<a name="l315"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Palette\&quot;;\n&quot;</span><span class=cF0>);
<a name="l316"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>400</span><span class=cF0>);
<a name="l317"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l318"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>400</span><span class=cF0>);
<a name="l319"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l320"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l321"></a>}
<a name="l322"></a>
<a name="l323"></a></span><span class=cF1>U0</span><span class=cF0> DoElephantWalk()
<a name="l324"></a>{
<a name="l325"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l326"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l327"></a>
<a name="l328"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/ElephantWalk\&quot;;\n&quot;</span><span class=cF0>);
<a name="l329"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>15</span><span class=cF0>; i++)
<a name="l330"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l331"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l332"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l333"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l334"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l335"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l336"></a>}
<a name="l337"></a>
<a name="l338"></a></span><span class=cF1>U0</span><span class=cF0> DoHalogen()
<a name="l339"></a>{
<a name="l340"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l341"></a>
<a name="l342"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Halogen\&quot;;\n&quot;</span><span class=cF0>);
<a name="l343"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l344"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l345"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l346"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l347"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>333</span><span class=cF0>);
<a name="l348"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l349"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l350"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l351"></a>}
<a name="l352"></a>
<a name="l353"></a></span><span class=cF1>U0</span><span class=cF0> DoTheDead()
<a name="l354"></a>{
<a name="l355"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l356"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l357"></a>
<a name="l358"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/TheDead\&quot;;\n&quot;</span><span class=cF0>);
<a name="l359"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>15</span><span class=cF0>; i++)
<a name="l360"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l361"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l362"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l363"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l364"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l365"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>15</span><span class=cF0>; i++)
<a name="l366"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l367"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l368"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l369"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l370"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l371"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l372"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l373"></a>}
<a name="l374"></a>
<a name="l375"></a></span><span class=cF1>U0</span><span class=cF0> DoBomberGolf()
<a name="l376"></a>{
<a name="l377"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l378"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l379"></a>
<a name="l380"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/BomberGolf\&quot;;\n&quot;</span><span class=cF0>);
<a name="l381"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>7</span><span class=cF0>; i++)
<a name="l382"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l383"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l384"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l385"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l386"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l387"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l388"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>7</span><span class=cF0>; i++)
<a name="l389"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l390"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l391"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l392"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l393"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l394"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l395"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l396"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l397"></a>}
<a name="l398"></a>
<a name="l399"></a></span><span class=cF1>U0</span><span class=cF0> DoZoneOut()
<a name="l400"></a>{
<a name="l401"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l402"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/ZoneOut\&quot;;\n&quot;</span><span class=cF0>);
<a name="l403"></a>
<a name="l404"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l405"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l406"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l407"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>15</span><span class=cF0>; i++)
<a name="l408"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l409"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l410"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l411"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l412"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l413"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l414"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l415"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l416"></a>}
<a name="l417"></a>
<a name="l418"></a></span><span class=cF1>U0</span><span class=cF0> DoVaroom()
<a name="l419"></a>{
<a name="l420"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l421"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l422"></a>
<a name="l423"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Varoom\&quot;;\n&quot;</span><span class=cF0>);
<a name="l424"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l425"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l426"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l427"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l428"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l429"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l430"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l431"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l432"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l433"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l434"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l435"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l436"></a>}
<a name="l437"></a>
<a name="l438"></a></span><span class=cF1>U0</span><span class=cF0> DoFlatTops()
<a name="l439"></a>{
<a name="l440"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/FlatTops\&quot;;\n&quot;</span><span class=cF0>);
<a name="l441"></a>
<a name="l442"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l443"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l444"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l445"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l446"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cF5>RandI16</span><span class=cF0>%</span><span class=cFE>400</span><span class=cF0>+</span><span class=cFE>200</span><span class=cF0>, </span><span class=cF5>RandI16</span><span class=cF0>%</span><span class=cFE>300</span><span class=cF0>+</span><span class=cFE>150</span><span class=cF0>);
<a name="l447"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l448"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l449"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l450"></a>}
<a name="l451"></a>
<a name="l452"></a></span><span class=cF1>U0</span><span class=cF0> DoWenceslas()
<a name="l453"></a>{
<a name="l454"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l455"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Wenceslas\&quot;;\n&quot;</span><span class=cF0>);
<a name="l456"></a>
<a name="l457"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l458"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l459"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l460"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l461"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l462"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l463"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l464"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l465"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l466"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l467"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l468"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l469"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>25</span><span class=cF0>; i++)
<a name="l470"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l471"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l472"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l473"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>25</span><span class=cF0>);
<a name="l474"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l475"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l476"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l477"></a>}
<a name="l478"></a>
<a name="l479"></a></span><span class=cF1>U0</span><span class=cF0> DoTreeCheckers()
<a name="l480"></a>{
<a name="l481"></a> </span><span class=cF9>I64</span><span class=cF0> task_num;
<a name="l482"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/TreeCheckers\&quot;;\n&quot;</span><span class=cF0>);
<a name="l483"></a>
<a name="l484"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l485"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l486"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l487"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l488"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l489"></a>
<a name="l490"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l491"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l492"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l493"></a>
<a name="l494"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l495"></a>
<a name="l496"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l497"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l498"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l499"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l500"></a>}
<a name="l501"></a>
<a name="l502"></a></span><span class=cF1>U0</span><span class=cF0> DoMorseCode()
<a name="l503"></a>{
<a name="l504"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l505"></a>
<a name="l506"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Sound/MorseCode\&quot;;\n&quot;</span><span class=cF0>);
<a name="l507"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l508"></a>
<a name="l509"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l510"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l511"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l512"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>350</span><span class=cF0>);
<a name="l513"></a>
<a name="l514"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l515"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l516"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l517"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>350</span><span class=cF0>);
<a name="l518"></a>
<a name="l519"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l520"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l521"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l522"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>25</span><span class=cF0>);
<a name="l523"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l524"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l525"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l526"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>25</span><span class=cF0>);
<a name="l527"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l528"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l529"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l530"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l531"></a>
<a name="l532"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l533"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l534"></a>}
<a name="l535"></a>
<a name="l536"></a></span><span class=cF1>U0</span><span class=cF0> DoPixCollision()
<a name="l537"></a>{
<a name="l538"></a> </span><span class=cF9>I64</span><span class=cF0> w, h;
<a name="l539"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l540"></a>
<a name="l541"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Collision\&quot;;\n&quot;</span><span class=cF0>);
<a name="l542"></a> w = task-&gt;pix_width &gt;&gt; </span><span class=cFE>1</span><span class=cF0> + task-&gt;pix_left + task-&gt;scroll_x;
<a name="l543"></a> h = task-&gt;pix_height &gt;&gt; </span><span class=cFE>1</span><span class=cF0> + task-&gt;pix_top + task-&gt;scroll_y;
<a name="l544"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(w - </span><span class=cFE>35</span><span class=cF0>, h - </span><span class=cFE>35</span><span class=cF0>);
<a name="l545"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>10</span><span class=cF0>, w + </span><span class=cFE>35</span><span class=cF0>, w + </span><span class=cFE>35</span><span class=cF0>);
<a name="l546"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l547"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l548"></a>}
<a name="l549"></a>
<a name="l550"></a></span><span class=cF1>U0</span><span class=cF0> DoBlackDiamond()
<a name="l551"></a>{
<a name="l552"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l553"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l554"></a>
<a name="l555"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/BlackDiamond\&quot;;\n&quot;</span><span class=cF0>);
<a name="l556"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>15</span><span class=cF0>; i++)
<a name="l557"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l558"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l559"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>75</span><span class=cF0>);
<a name="l560"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l561"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>12</span><span class=cF0>; i++)
<a name="l562"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l563"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l564"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>75</span><span class=cF0>);
<a name="l565"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l566"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l567"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l568"></a>}
<a name="l569"></a>
<a name="l570"></a></span><span class=cF1>U0</span><span class=cF0> DoCtrlR1()
<a name="l571"></a>{
<a name="l572"></a> </span><span class=cF9>I64</span><span class=cF0> i, task_num;
<a name="l573"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l574"></a>
<a name="l575"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;//&quot;</span><span class=cF0>);
<a name="l576"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_CTRLR</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l577"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l578"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l579"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>1</span><span class=cF0>;i++)
<a name="l580"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l581"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l582"></a> </span><span class=cF2>//Color</span><span class=cF0>
<a name="l583"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l584"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l585"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>2</span><span class=cF0>; i++)
<a name="l586"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l587"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l588"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l589"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l590"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>2</span><span class=cF0>; i++)
<a name="l591"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l592"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l593"></a>
<a name="l594"></a> </span><span class=cF2>//Width</span><span class=cF0>
<a name="l595"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l596"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l597"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>4</span><span class=cF0>; i++)
<a name="l598"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l599"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l600"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l601"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l602"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>4</span><span class=cF0>; i++)
<a name="l603"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l604"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l605"></a>
<a name="l606"></a> </span><span class=cF2>//Line</span><span class=cF0>
<a name="l607"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l608"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l609"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>7</span><span class=cF0>; i++)
<a name="l610"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l611"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l612"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l613"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
<a name="l614"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>95</span><span class=cF0>);
<a name="l615"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l616"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
<a name="l617"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
<a name="l618"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l619"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
<a name="l620"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>110</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
<a name="l621"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l622"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
<a name="l623"></a>
<a name="l624"></a> </span><span class=cF2>//Color</span><span class=cF0>
<a name="l625"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l626"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l627"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>2</span><span class=cF0>; i++)
<a name="l628"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l629"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l630"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l631"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l632"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>3</span><span class=cF0>; i++)
<a name="l633"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l634"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l635"></a>
<a name="l636"></a> </span><span class=cF2>//Circle</span><span class=cF0>
<a name="l637"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l638"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l639"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l640"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l641"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l642"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l643"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
<a name="l644"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
<a name="l645"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l646"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
<a name="l647"></a>
<a name="l648"></a> </span><span class=cF2>//Exit</span><span class=cF0>
<a name="l649"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l650"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>+</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
<a name="l651"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l652"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l653"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l654"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l655"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;\n&quot;</span><span class=cF0>);
<a name="l656"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l657"></a>}
<a name="l658"></a>
<a name="l659"></a></span><span class=cF1>U0</span><span class=cF0> DoF2Macro()
<a name="l660"></a>{
<a name="l661"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l662"></a> </span><span class=cF1>U8</span><span class=cF0> *ptr = </span><span class=cF6>&quot;\&quot;Boo!\\n\&quot;;\n&quot;</span><span class=cF0>;
<a name="l663"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l664"></a>
<a name="l665"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l666"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_F2</span><span class=cF0>);
<a name="l667"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l668"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l669"></a>
<a name="l670"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>|</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
<a name="l671"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l672"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l673"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>); </span><span class=cF2>//Press RECORD</span><span class=cF0>
<a name="l674"></a> </span><span class=cF1>while</span><span class=cF0> (!</span><span class=cF5>Bt</span><span class=cF7>(</span><span class=cF0>&amp;</span><span class=cFB>sys_semas</span><span class=cF0>[</span><span class=cF3>SEMA_RECORD_MACRO</span><span class=cF0>], </span><span class=cFE>0</span><span class=cF7>)</span><span class=cF0>)
<a name="l675"></a> </span><span class=cF5>Yield</span><span class=cF0>;
<a name="l676"></a>
<a name="l677"></a> </span><span class=cF1>while</span><span class=cF0> (*ptr)
<a name="l678"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, *ptr++, </span><span class=cFE>0</span><span class=cF0>);
<a name="l679"></a>
<a name="l680"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l681"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l682"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>); </span><span class=cF2>//Press STOP</span><span class=cF0>
<a name="l683"></a>
<a name="l684"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l685"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_F2</span><span class=cF0>|</span><span class=cF3>SCF_SHIFT</span><span class=cF0>);
<a name="l686"></a>
<a name="l687"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l688"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l689"></a>
<a name="l690"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l691"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;\n&quot;</span><span class=cF0>);
<a name="l692"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l693"></a>}
<a name="l694"></a>
<a name="l695"></a></span><span class=cF1>U0</span><span class=cF0> DoLightTable()
<a name="l696"></a>{
<a name="l697"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/LightTable\&quot;;\n\n&quot;</span><span class=cF0>);
<a name="l698"></a>
<a name="l699"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task);
<a name="l700"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'2'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l701"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l702"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0> - </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l703"></a>
<a name="l704"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'3'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l705"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l706"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l707"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l708"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>120</span><span class=cF0>, </span><span class=cFE>180</span><span class=cF0>);
<a name="l709"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>160</span><span class=cF0>, </span><span class=cFE>120</span><span class=cF0>);
<a name="l710"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>320</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
<a name="l711"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>160</span><span class=cF0>, </span><span class=cFE>120</span><span class=cF0>);
<a name="l712"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>120</span><span class=cF0>, </span><span class=cFE>180</span><span class=cF0>);
<a name="l713"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l714"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l715"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l716"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l717"></a>
<a name="l718"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'4'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l719"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>320</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
<a name="l720"></a>
<a name="l721"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'5'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l722"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>460</span><span class=cF0>, </span><span class=cFE>280</span><span class=cF0>);
<a name="l723"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0> , </span><span class=cFE>500</span><span class=cF0>, </span><span class=cFE>220</span><span class=cF0>);
<a name="l724"></a>
<a name="l725"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l726"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l727"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l728"></a>}
<a name="l729"></a>
<a name="l730"></a></span><span class=cF1>U0</span><span class=cF0> DoPredatorPrey()
<a name="l731"></a>{
<a name="l732"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/PredatorPrey\&quot;;\n&quot;</span><span class=cF0>);
<a name="l733"></a>
<a name="l734"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l735"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l736"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l737"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l738"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l739"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l740"></a>}
<a name="l741"></a>
<a name="l742"></a></span><span class=cF1>U0</span><span class=cF0> DoCharDemo()
<a name="l743"></a>{
<a name="l744"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l745"></a>
<a name="l746"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/CharDemo\&quot;;\n&quot;</span><span class=cF0>);
<a name="l747"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l748"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l749"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l750"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l751"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l752"></a>}
<a name="l753"></a>
<a name="l754"></a></span><span class=cF1>U0</span><span class=cF0> DoLattice()
<a name="l755"></a>{
<a name="l756"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l757"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l758"></a>
<a name="l759"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Lattice\&quot;;\n&quot;</span><span class=cF0>);
<a name="l760"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>20</span><span class=cF0>; i++)
<a name="l761"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l762"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>6</span><span class=cF0>; i++)
<a name="l763"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l764"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'+'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l765"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l766"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l767"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>6</span><span class=cF0>; i++)
<a name="l768"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l769"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l770"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l771"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l772"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>16</span><span class=cF0>; i++)
<a name="l773"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l774"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l775"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l776"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l777"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l778"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l779"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l780"></a>}
<a name="l781"></a>
<a name="l782"></a></span><span class=cF1>U0</span><span class=cF0> DoCartesian()
<a name="l783"></a>{
<a name="l784"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l785"></a>
<a name="l786"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Cartesian\&quot;;\n&quot;</span><span class=cF0>);
<a name="l787"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;0.2*x`1.5\n&quot;</span><span class=cF0>);
<a name="l788"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l789"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l790"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l791"></a>}
<a name="l792"></a>
<a name="l793"></a></span><span class=cF1>U0</span><span class=cF0> DoMPAdd()
<a name="l794"></a>{
<a name="l795"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l796"></a>
<a name="l797"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/MultiCore/MPAdd\&quot;;\n&quot;</span><span class=cF0>);
<a name="l798"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l799"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l800"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l801"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l802"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l803"></a>}
<a name="l804"></a>
<a name="l805"></a></span><span class=cF1>U0</span><span class=cF0> DoFlapBat()
<a name="l806"></a>{
<a name="l807"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l808"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/FlapBat\&quot;;\n&quot;</span><span class=cF0>);
<a name="l809"></a>
<a name="l810"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l811"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l812"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l813"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l814"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>4</span><span class=cF0>; i++)
<a name="l815"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l816"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l817"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l818"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l819"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l820"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l821"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l822"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l823"></a>}
<a name="l824"></a>
<a name="l825"></a></span><span class=cF1>U0</span><span class=cF0> DoBattleLines()
<a name="l826"></a>{
<a name="l827"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/BattleLines\&quot;;\n&quot;</span><span class=cF0>);
<a name="l828"></a>
<a name="l829"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l830"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l831"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l832"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l833"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>430</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l834"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>530</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
<a name="l835"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l836"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l837"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l838"></a>}
<a name="l839"></a>
<a name="l840"></a></span><span class=cF1>U0</span><span class=cF0> DoBigGuns()
<a name="l841"></a>{
<a name="l842"></a> </span><span class=cF9>I64</span><span class=cF0> i, task_num;
<a name="l843"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/BigGuns\&quot;;\n&quot;</span><span class=cF0>);
<a name="l844"></a>
<a name="l845"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l846"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l847"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l848"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l849"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l850"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l851"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>5</span><span class=cF0>; i++)
<a name="l852"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l853"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l854"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l855"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l856"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l857"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l858"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l859"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l860"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l861"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l862"></a>}
<a name="l863"></a>
<a name="l864"></a></span><span class=cF1>U0</span><span class=cF0> DoDunGen()
<a name="l865"></a>{
<a name="l866"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l867"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l868"></a>
<a name="l869"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/DunGen\&quot;;\n&quot;</span><span class=cF0>);
<a name="l870"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l871"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l872"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l873"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l874"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l875"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>12</span><span class=cF0>; i++)
<a name="l876"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l877"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l878"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l879"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l880"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>6</span><span class=cF0>; i++)
<a name="l881"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l882"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l883"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l884"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l885"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l886"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l887"></a>}
<a name="l888"></a>
<a name="l889"></a></span><span class=cF1>U0</span><span class=cF0> DoTitanium()
<a name="l890"></a>{
<a name="l891"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l892"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l893"></a>
<a name="l894"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Apps/Titanium/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l895"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l896"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l897"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>3</span><span class=cF0>; i++)
<a name="l898"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l899"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l900"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l901"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l902"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l903"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l904"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l905"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l906"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l907"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l908"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l909"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l910"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l911"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l912"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l913"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l914"></a>}
<a name="l915"></a>
<a name="l916"></a></span><span class=cF1>U0</span><span class=cF0> DoToTheFront()
<a name="l917"></a>{
<a name="l918"></a> </span><span class=cF9>I64</span><span class=cF0> task_num;
<a name="l919"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Apps/ToTheFront/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l920"></a>
<a name="l921"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l922"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l923"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l924"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l925"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l926"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l927"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l928"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l929"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l930"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l931"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l932"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>5000</span><span class=cF0>);
<a name="l933"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l934"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l935"></a>}
<a name="l936"></a>
<a name="l937"></a></span><span class=cF1>U0</span><span class=cF0> DoPsalmody()
<a name="l938"></a>{
<a name="l939"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l940"></a>
<a name="l941"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Apps/Psalmody/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l942"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l943"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l944"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l945"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l946"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'g'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l947"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l948"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'g'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l949"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l950"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l951"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l952"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'j'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l953"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l954"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'j'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l955"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>+</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
<a name="l956"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'x'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l957"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1250</span><span class=cF0>);
<a name="l958"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l959"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l960"></a>}
<a name="l961"></a>
<a name="l962"></a></span><span class=cF1>U0</span><span class=cF0> DoJukeBox()
<a name="l963"></a>{
<a name="l964"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Apps/Psalmody/Load\&quot;;JukeBox(\&quot;::/Apps/Psalmody/Examples\&quot;);\n&quot;</span><span class=cF0>);
<a name="l965"></a>
<a name="l966"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l967"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l968"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l969"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l970"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l971"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l972"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l973"></a>}
<a name="l974"></a>
<a name="l975"></a></span><span class=cF1>U0</span><span class=cF0> DoSpan()
<a name="l976"></a>{
<a name="l977"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Apps/Span/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l978"></a>
<a name="l979"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l980"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l981"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l982"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l983"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l984"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l985"></a>}
<a name="l986"></a>
<a name="l987"></a></span><span class=cF1>U0</span><span class=cF0> DoStrut()
<a name="l988"></a>{
<a name="l989"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l990"></a>
<a name="l991"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Apps/Strut/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l992"></a>
<a name="l993"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l994"></a>
<a name="l995"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l996"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l997"></a> </span><span class=cF5>Refresh</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>);
<a name="l998"></a>
<a name="l999"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1000"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1001"></a>
<a name="l1002"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1003"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1004"></a>
<a name="l1005"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'s'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1006"></a>
<a name="l1007"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1008"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1009"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1010"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1011"></a>
<a name="l1012"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1013"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1014"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1015"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1016"></a>
<a name="l1017"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1018"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1019"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1020"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1021"></a>
<a name="l1022"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cF3>GR_HEIGHT</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1023"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1024"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1025"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1026"></a>
<a name="l1027"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cF3>GR_HEIGHT</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1028"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1029"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1030"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1031"></a>
<a name="l1032"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cF3>GR_HEIGHT</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1033"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1034"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1035"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1036"></a>
<a name="l1037"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'t'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1038"></a>
<a name="l1039"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1040"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1041"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1042"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1043"></a>
<a name="l1044"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1045"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1046"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1047"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1048"></a>
<a name="l1049"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1050"></a>
<a name="l1051"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1052"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF5>Char2ScanCode</span><span class=cF7>(</span><span class=cF6>'1'</span><span class=cF7>)</span><span class=cF0>);
<a name="l1053"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>600</span><span class=cF0>);
<a name="l1054"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF5>Char2ScanCode</span><span class=cF7>(</span><span class=cF6>'1'</span><span class=cF7>)</span><span class=cF0>);
<a name="l1055"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'Z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1056"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l1057"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'Z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1058"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l1059"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'Z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1060"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
<a name="l1061"></a>
<a name="l1062"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1063"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1064"></a>}
<a name="l1065"></a>
<a name="l1066"></a></span><span class=cF1>U0</span><span class=cF0> DoRawHide()
<a name="l1067"></a>{
<a name="l1068"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/RawHide\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1069"></a>
<a name="l1070"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1071"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1072"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1073"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>2500</span><span class=cF0>);
<a name="l1074"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1075"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1076"></a>}
<a name="l1077"></a>
<a name="l1078"></a></span><span class=cF1>U0</span><span class=cF0> DoPoleZeros()
<a name="l1079"></a>{
<a name="l1080"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/PoleZeros\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1081"></a>
<a name="l1082"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1083"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1084"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1085"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1086"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1087"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1088"></a>}
<a name="l1089"></a>
<a name="l1090"></a></span><span class=cF1>U0</span><span class=cF0> DoWhap()
<a name="l1091"></a>{
<a name="l1092"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1093"></a>
<a name="l1094"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Whap\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1095"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1096"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1097"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>3</span><span class=cF0>, </span><span class=cFE>350</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>);
<a name="l1098"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1099"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>3</span><span class=cF0>, </span><span class=cFE>450</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1100"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1101"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1102"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1103"></a>}
<a name="l1104"></a>
<a name="l1105"></a></span><span class=cF1>U0</span><span class=cF0> DoGrid()
<a name="l1106"></a>{
<a name="l1107"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Grid\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1108"></a>
<a name="l1109"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1110"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>150</span><span class=cF0>);
<a name="l1111"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
<a name="l1112"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
<a name="l1113"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1114"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1115"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1116"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1117"></a> </span><span class=cF5>DocBottom</span><span class=cF0>(</span><span class=cF5>DocPut</span><span class=cF7>(</span><span class=cF0>task</span><span class=cF7>)</span><span class=cF0>);
<a name="l1118"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1119"></a>}
<a name="l1120"></a>
<a name="l1121"></a></span><span class=cF1>U0</span><span class=cF0> DoPick()
<a name="l1122"></a>{
<a name="l1123"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1124"></a>
<a name="l1125"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Pick\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1126"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1127"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1128"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1129"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>4</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
<a name="l1130"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1131"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1132"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1133"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1134"></a>}
<a name="l1135"></a>
<a name="l1136"></a></span><span class=cF1>U0</span><span class=cF0> DoPick3D()
<a name="l1137"></a>{
<a name="l1138"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1139"></a>
<a name="l1140"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/Pick3D\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1141"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1142"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1143"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1144"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>4</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
<a name="l1145"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1146"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1147"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1148"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1149"></a>}
<a name="l1150"></a>
<a name="l1151"></a></span><span class=cF1>U0</span><span class=cF0> DoGrModels()
<a name="l1152"></a>{
<a name="l1153"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1154"></a> </span><span class=cF9>I64</span><span class=cF0> i, j, task_num = -</span><span class=cFE>1</span><span class=cF0>;
<a name="l1155"></a>
<a name="l1156"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Apps/GrModels/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1157"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1158"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1159"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>4</span><span class=cF0>; i++)
<a name="l1160"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1161"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task, task_num);
<a name="l1162"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1163"></a> </span><span class=cF1>for</span><span class=cF0> (j = </span><span class=cFE>0</span><span class=cF0>; j &lt;= i; j++)
<a name="l1164"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1165"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1166"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1167"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l1168"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1169"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1170"></a>}
<a name="l1171"></a>
<a name="l1172"></a></span><span class=cF1>U0</span><span class=cF0> DoKeepAway()
<a name="l1173"></a>{
<a name="l1174"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Apps/KeepAway/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1175"></a>
<a name="l1176"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1177"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1178"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1179"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
<a name="l1180"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l1181"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFB>mouse</span><span class=cF0>.pos.x, </span><span class=cFB>mouse</span><span class=cF0>.pos.y);
<a name="l1182"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l1183"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1184"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1185"></a>}
<a name="l1186"></a>
<a name="l1187"></a></span><span class=cF1>U0</span><span class=cF0> DoRocket()
<a name="l1188"></a>{
<a name="l1189"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1190"></a>
<a name="l1191"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Rocket\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1192"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1193"></a> </span><span class=cF5>Bts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1194"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l1195"></a> </span><span class=cF5>Btr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1196"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1197"></a> </span><span class=cF5>Bts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1198"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l1199"></a> </span><span class=cF5>Btr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1200"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
<a name="l1201"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1202"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1203"></a>}
<a name="l1204"></a>
<a name="l1205"></a></span><span class=cF1>U0</span><span class=cF0> DoRocketScience()
<a name="l1206"></a>{
<a name="l1207"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/RocketScience\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1208"></a>
<a name="l1209"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1210"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1211"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1212"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1213"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1214"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1215"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>2000</span><span class=cF0>);
<a name="l1216"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1217"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1218"></a>}
<a name="l1219"></a>
<a name="l1220"></a></span><span class=cF1>U0</span><span class=cF0> DoMassSpring()
<a name="l1221"></a>{
<a name="l1222"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/Games/MassSpring\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1223"></a>
<a name="l1224"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1225"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1226"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1227"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1228"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//#1</span><span class=cF0>
<a name="l1229"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>); </span><span class=cF2>//#2</span><span class=cF0>
<a name="l1230"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>210</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//#3</span><span class=cF0>
<a name="l1231"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>310</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);</span><span class=cF2>//#4</span><span class=cF0>
<a name="l1232"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1233"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//1-2</span><span class=cF0>
<a name="l1234"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1235"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1236"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>210</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>);</span><span class=cF2>//3-4</span><span class=cF0>
<a name="l1237"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>310</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1238"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1239"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);</span><span class=cF2>//2-4</span><span class=cF0>
<a name="l1240"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>310</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
<a name="l1241"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1242"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//1-3</span><span class=cF0>
<a name="l1243"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>210</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>);
<a name="l1244"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
<a name="l1245"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1246"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1247"></a>}
<a name="l1248"></a>
<a name="l1249"></a></span><span class=cF1>U0</span><span class=cF0> DoSquirt()
<a name="l1250"></a>{
<a name="l1251"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1252"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1253"></a>
<a name="l1254"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Squirt\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1255"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>5</span><span class=cF0>; i++)
<a name="l1256"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1257"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1258"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l1259"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1260"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>5</span><span class=cF0>; i++)
<a name="l1261"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1262"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l1263"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l1264"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1265"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>5</span><span class=cF0>; i++)
<a name="l1266"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1267"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1268"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l1269"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1270"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>5</span><span class=cF0>; i++)
<a name="l1271"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1272"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1273"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l1274"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1275"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1276"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1277"></a>}
<a name="l1278"></a>
<a name="l1279"></a></span><span class=cF1>U0</span><span class=cF0> DoXCaliber()
<a name="l1280"></a>{
<a name="l1281"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1282"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1283"></a>
<a name="l1284"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Apps/X-Caliber/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1285"></a>
<a name="l1286"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l1287"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>TaskValidate</span><span class=cF7>(</span><span class=cF0>task-&gt;popup_task</span><span class=cF7>)</span><span class=cF0>)
<a name="l1288"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1289"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_CTRL</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1290"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1291"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1292"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1293"></a>
<a name="l1294"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>5</span><span class=cF0>; i++)
<a name="l1295"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1296"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_SHIFT</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1297"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_SHIFT</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1298"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1299"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l1300"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1301"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1302"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1303"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
<a name="l1304"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1305"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1306"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1307"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1308"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1309"></a>}
<a name="l1310"></a>
<a name="l1311"></a></span><span class=cF1>U0</span><span class=cF0> DoFPS()
<a name="l1312"></a>{
<a name="l1313"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1314"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1315"></a>
<a name="l1316"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/CastleFrankenstein\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1317"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>15</span><span class=cF0>; i++)
<a name="l1318"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1319"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1320"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1321"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1322"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>8</span><span class=cF0>; i++)
<a name="l1323"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1324"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1325"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1326"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1327"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>9</span><span class=cF0>; i++)
<a name="l1328"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1329"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1330"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1331"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1332"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>6</span><span class=cF0>; i++)
<a name="l1333"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1334"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1335"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1336"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1337"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1338"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1339"></a>}
<a name="l1340"></a>
<a name="l1341"></a></span><span class=cF1>U0</span><span class=cF0> DoTalons()
<a name="l1342"></a>{
<a name="l1343"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1344"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1345"></a>
<a name="l1346"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Games/Talons\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1347"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1348"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l1349"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1350"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1351"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1352"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1353"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>10</span><span class=cF0>; i++)
<a name="l1354"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1355"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1356"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1357"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1358"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1359"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1360"></a>}
<a name="l1361"></a>
<a name="l1362"></a></span><span class=cF1>U0</span><span class=cF0> DoPhoneNumWords()
<a name="l1363"></a>{
<a name="l1364"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1365"></a>
<a name="l1366"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/PhoneNumWords\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1367"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;702-254-4223\n\n&quot;</span><span class=cF0>);
<a name="l1368"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1369"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1370"></a>}
<a name="l1371"></a>
<a name="l1372"></a></span><span class=cF1>U0</span><span class=cF0> DoSuggestedSpelling()
<a name="l1373"></a>{
<a name="l1374"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1375"></a>
<a name="l1376"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/SuggestSpelling\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1377"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;effecient\n\n&quot;</span><span class=cF0>);
<a name="l1378"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1379"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1380"></a>}
<a name="l1381"></a>
<a name="l1382"></a></span><span class=cF1>U0</span><span class=cF0> DoFPrintF()
<a name="l1383"></a>{
<a name="l1384"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1385"></a>
<a name="l1386"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Disk/FPrintF\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1387"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;~/DemoFPrintF.DD&quot;</span><span class=cF0>);
<a name="l1388"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1389"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;Type(\&quot;~/DemoFPrintF.DD\&quot;);\n&quot;</span><span class=cF0>);
<a name="l1390"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_CTRLO</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1391"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;Del(\&quot;~/DemoFPrintF.DD*\&quot;);\n&quot;</span><span class=cF0>);
<a name="l1392"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1393"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1394"></a>}
<a name="l1395"></a>
<a name="l1396"></a></span><span class=cF1>U0</span><span class=cF0> DoLastClass()
<a name="l1397"></a>{
<a name="l1398"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1399"></a>
<a name="l1400"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/LastClass\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1401"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1402"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1403"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1404"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1405"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1406"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1407"></a>}
<a name="l1408"></a>
<a name="l1409"></a></span><span class=cF1>U0</span><span class=cF0> DoMiniCompiler()
<a name="l1410"></a>{
<a name="l1411"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1412"></a>
<a name="l1413"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Lectures/MiniCompiler\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1414"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;1+2*(3+4)\n&quot;</span><span class=cF0>);
<a name="l1415"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1416"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1417"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1418"></a>}
<a name="l1419"></a>
<a name="l1420"></a></span><span class=cF1>U0</span><span class=cF0> DoWebLog()
<a name="l1421"></a>{
<a name="l1422"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1423"></a>
<a name="l1424"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/WebLogDemo/WebLogRep\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1425"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1426"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1427"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1428"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1429"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1430"></a>}
<a name="l1431"></a>
<a name="l1432"></a></span><span class=cF1>U0</span><span class=cF0> DoRevFile()
<a name="l1433"></a>{
<a name="l1434"></a> </span><span class=cF9>CTask</span><span class=cF0> *task;
<a name="l1435"></a>
<a name="l1436"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>&quot;~/DemoPoemFwd.DD*&quot;</span><span class=cF0>);
<a name="l1437"></a> task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/RevFileDemo/Rev\&quot;;Type(\&quot;~/DemoPoemFwd.DD\&quot;);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1438"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1439"></a>}
<a name="l1440"></a>
<a name="l1441"></a></span><span class=cF1>U0</span><span class=cF0> DoSortFile()
<a name="l1442"></a>{
<a name="l1443"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/SortFileDemo/F64FileGen\&quot;;&quot;</span><span class=cF0>
<a name="l1444"></a> </span><span class=cF6>&quot;#include \&quot;::/Demo/SortFileDemo/F64FileSort\&quot;;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1445"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1446"></a>}
<a name="l1447"></a>
<a name="l1448"></a></span><span class=cF1>U0</span><span class=cF0> DoToHtmlToTXT()
<a name="l1449"></a>{
<a name="l1450"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/ToHtmlToTXTDemo/HtmlGen\&quot;;&quot;</span><span class=cF0>
<a name="l1451"></a> </span><span class=cF6>&quot;#include \&quot;::/Demo/ToHtmlToTXTDemo/TXTGen\&quot;;&quot;</span><span class=cF0>
<a name="l1452"></a> </span><span class=cF6>&quot;Type(\&quot;~/DemoOutPage.TXT\&quot;);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1453"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1454"></a>}
<a name="l1455"></a>
<a name="l1456"></a></span><span class=cF1>U0</span><span class=cF0> DoLogic()
<a name="l1457"></a>{
<a name="l1458"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1459"></a>
<a name="l1460"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Apps/Logic/Run\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1461"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;NAND\nNOR\n\n0x100\n0xF0\n0xCC\n0xAA\n\n0x12\n\n&quot;</span><span class=cF0>);
<a name="l1462"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1463"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1464"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1465"></a>}
<a name="l1466"></a>
<a name="l1467"></a></span><span class=cF1>U0</span><span class=cF0> DoPrompt()
<a name="l1468"></a>{
<a name="l1469"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1470"></a>
<a name="l1471"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Prompt\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1472"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;1+2*3&lt;&lt;4\n&quot;</span><span class=cF0>);
<a name="l1473"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;1.0+2*3`2\n&quot;</span><span class=cF0>);
<a name="l1474"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;Terry Davis\n&quot;</span><span class=cF0>);
<a name="l1475"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;*-1\n&quot;</span><span class=cF0>);
<a name="l1476"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1477"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1478"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1479"></a>}
<a name="l1480"></a>
<a name="l1481"></a></span><span class=cF1>U0</span><span class=cF0> DoNumBible()
<a name="l1482"></a>{
<a name="l1483"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1484"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/DolDoc/NumBible\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1485"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>&quot;~/DemoNumBible.DD&quot;</span><span class=cF0>);
<a name="l1486"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1487"></a>}
<a name="l1488"></a>
<a name="l1489"></a></span><span class=cF1>U0</span><span class=cF0> DoForm()
<a name="l1490"></a>{
<a name="l1491"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1492"></a>
<a name="l1493"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/DolDoc/Form\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1494"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1495"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;54321&quot;</span><span class=cF0>);
<a name="l1496"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1497"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1498"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1499"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_CTRL</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l1500"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;77777&quot;</span><span class=cF0>);
<a name="l1501"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1502"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1503"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1504"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1505"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1506"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1507"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>&quot;MyName&quot;</span><span class=cF0>);
<a name="l1508"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1509"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1510"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1511"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1512"></a>}
<a name="l1513"></a>
<a name="l1514"></a></span><span class=cF1>U0</span><span class=cF0> DoClickCallBack()
<a name="l1515"></a>{
<a name="l1516"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1517"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/DolDoc/ClickCallBack\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1518"></a>
<a name="l1519"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i &lt; </span><span class=cFE>3</span><span class=cF0>; i++)
<a name="l1520"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1521"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1522"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1523"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1524"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1525"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1526"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1527"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1528"></a>}
<a name="l1529"></a>
<a name="l1530"></a></span><span class=cF1>U0</span><span class=cF0> DoMenuBttn()
<a name="l1531"></a>{
<a name="l1532"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1533"></a>
<a name="l1534"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/DolDoc/MenuBttn\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1535"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1536"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1537"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1538"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1539"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1540"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1541"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1542"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1543"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_focus_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1544"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
<a name="l1545"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task-&gt;popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1546"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1547"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1548"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1549"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1550"></a>}
<a name="l1551"></a>
<a name="l1552"></a></span><span class=cF1>U0</span><span class=cF0> DoMenuSprite()
<a name="l1553"></a>{
<a name="l1554"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1555"></a>
<a name="l1556"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/DolDoc/MenuSprite\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1557"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1558"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1559"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1560"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l1561"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1562"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1563"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1564"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
<a name="l1565"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1566"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
<a name="l1567"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1568"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1569"></a>}
<a name="l1570"></a>
<a name="l1571"></a></span><span class=cF1>U0</span><span class=cF0> DoExceptions()
<a name="l1572"></a>{
<a name="l1573"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1574"></a>
<a name="l1575"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Exceptions\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1576"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;yy&quot;</span><span class=cF0>);
<a name="l1577"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1578"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1579"></a>}
<a name="l1580"></a>
<a name="l1581"></a></span><span class=cF1>U0</span><span class=cF0> DoDemoDoc()
<a name="l1582"></a>{
<a name="l1583"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1584"></a>
<a name="l1585"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;Ed(\&quot;::/Demo/DolDoc/DemoDoc.DD\&quot;);\n&quot;</span><span class=cF0>);
<a name="l1586"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_CTRLG</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1587"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;100&quot;</span><span class=cF0>);
<a name="l1588"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1589"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1590"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1591"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1592"></a>}
<a name="l1593"></a>
<a name="l1594"></a></span><span class=cF1>U0</span><span class=cF0> DoFileRead()
<a name="l1595"></a>{
<a name="l1596"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1597"></a>
<a name="l1598"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/DolDoc/FileRead\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1599"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1600"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1601"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1602"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1603"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1604"></a>}
<a name="l1605"></a>
<a name="l1606"></a></span><span class=cF1>U0</span><span class=cF0> DoDefine()
<a name="l1607"></a>{
<a name="l1608"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1609"></a>
<a name="l1610"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Define\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1611"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;YS\n&quot;</span><span class=cF0>);
<a name="l1612"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1613"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1614"></a>}
<a name="l1615"></a>
<a name="l1616"></a></span><span class=cF1>U0</span><span class=cF0> DoAsmAndC1()
<a name="l1617"></a>{
<a name="l1618"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1619"></a>
<a name="l1620"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Asm/AsmAndC1\&quot;;\n2\n&quot;</span><span class=cF0>);
<a name="l1621"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1622"></a>}
<a name="l1623"></a>
<a name="l1624"></a></span><span class=cF1>U0</span><span class=cF0> DoAsmAndC2()
<a name="l1625"></a>{
<a name="l1626"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1627"></a>
<a name="l1628"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;#include \&quot;::/Demo/Asm/AsmAndC2\&quot;;\n2\n&quot;</span><span class=cF0>);
<a name="l1629"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1630"></a>}
<a name="l1631"></a>
<a name="l1632"></a></span><span class=cF1>U0</span><span class=cF0> OSTestSuite()
<a name="l1633"></a>{
<a name="l1634"></a> </span><span class=cF9>CTask</span><span class=cF0> *task;
<a name="l1635"></a>
<a name="l1636"></a> ts_t0 = </span><span class=cF5>tS</span><span class=cF0>;
<a name="l1637"></a> ts_i = </span><span class=cFE>0</span><span class=cF0>;
<a name="l1638"></a>
<a name="l1639"></a> TS(</span><span class=cF6>&quot;BlackDiamond&quot;</span><span class=cF0>); DoBlackDiamond;
<a name="l1640"></a> TS(</span><span class=cF6>&quot;Talons&quot;</span><span class=cF0>); DoTalons;
<a name="l1641"></a> TS(</span><span class=cF6>&quot;FlatTops&quot;</span><span class=cF0>); DoFlatTops;
<a name="l1642"></a> TS(</span><span class=cF6>&quot;DunGen&quot;</span><span class=cF0>); DoDunGen;
<a name="l1643"></a> TS(</span><span class=cF6>&quot;FPS&quot;</span><span class=cF0>); DoFPS;
<a name="l1644"></a> TS(</span><span class=cF6>&quot;ZoneOut&quot;</span><span class=cF0>); DoZoneOut;
<a name="l1645"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS(&quot;Varoom&quot;); </span><span class=cF0> </span><span class=cF2>DoVaroom;</span><span class=cF0>
<a name="l1646"></a> TS(</span><span class=cF6>&quot;Rocket&quot;</span><span class=cF0>); DoRocket;
<a name="l1647"></a> TS(</span><span class=cF6>&quot;RocketScience&quot;</span><span class=cF0>); DoRocketScience;
<a name="l1648"></a> TS(</span><span class=cF6>&quot;BattleLines&quot;</span><span class=cF0>); DoBattleLines;
<a name="l1649"></a> TS(</span><span class=cF6>&quot;BigGuns&quot;</span><span class=cF0>); DoBigGuns;
<a name="l1650"></a> TS(</span><span class=cF6>&quot;FlapBat&quot;</span><span class=cF0>); DoFlapBat;
<a name="l1651"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS(&quot;Titanium&quot;); </span><span class=cF0> </span><span class=cF2>DoTitanium;</span><span class=cF0>
<a name="l1652"></a> TS(</span><span class=cF6>&quot;ToTheFront&quot;</span><span class=cF0>); DoToTheFront;
<a name="l1653"></a> TS(</span><span class=cF6>&quot;Psalmody&quot;</span><span class=cF0>); DoPsalmody;
<a name="l1654"></a> TS(</span><span class=cF6>&quot;JukeBox&quot;</span><span class=cF0>); DoJukeBox;
<a name="l1655"></a> TS(</span><span class=cF6>&quot;Span&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cFB>sys_heap_init_flag</span><span class=cF0>) DoSpan; </span><span class=cF2>//Has FloodFill</span><span class=cF0>
<a name="l1656"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS(&quot;Strut&quot;);</span><span class=cF0> </span><span class=cF2>DoStrut;</span><span class=cF0>
<a name="l1657"></a> TS(</span><span class=cF6>&quot;RawHide&quot;</span><span class=cF0>); DoRawHide;
<a name="l1658"></a> TS(</span><span class=cF6>&quot;KeepAway&quot;</span><span class=cF0>); DoKeepAway;
<a name="l1659"></a> TS(</span><span class=cF6>&quot;XCaliber&quot;</span><span class=cF0>); DoXCaliber;
<a name="l1660"></a> TS(</span><span class=cF6>&quot;Wenceslas&quot;</span><span class=cF0>); DoWenceslas;
<a name="l1661"></a> TS(</span><span class=cF6>&quot;BomberGolf&quot;</span><span class=cF0>); DoBomberGolf;
<a name="l1662"></a> TS(</span><span class=cF6>&quot;TheDead&quot;</span><span class=cF0>); DoTheDead;
<a name="l1663"></a> TS(</span><span class=cF6>&quot;TreeCheckers&quot;</span><span class=cF0>); DoTreeCheckers;
<a name="l1664"></a> TS(</span><span class=cF6>&quot;RadixDort&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/RadixSort&quot;</span><span class=cF0>);
<a name="l1665"></a> TS(</span><span class=cF6>&quot;MPAdd&quot;</span><span class=cF0>); DoMPAdd;
<a name="l1666"></a> TS(</span><span class=cF6>&quot;Primes&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Primes&quot;</span><span class=cF0>);
<a name="l1667"></a> TS(</span><span class=cF6>&quot;Palindrome&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>FileFind</span><span class=cF7>(</span><span class=cF3>BIBLE_FILENAME</span><span class=cF7>)</span><span class=cF0>) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Palindrome&quot;</span><span class=cF0>);
<a name="l1668"></a> TS(</span><span class=cF6>&quot;MPRadix&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> &gt; </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/MPRadix&quot;</span><span class=cF0>);
<a name="l1669"></a> TS(</span><span class=cF6>&quot;LoadTest&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> &gt; </span><span class=cFE>1</span><span class=cF0> &amp;&amp; </span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>) TSFileChar(</span><span class=cF6>&quot;::/Demo/MultiCore/LoadTest&quot;</span><span class=cF0>);
<a name="l1670"></a> TS(</span><span class=cF6>&quot;MPPrint&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> &gt; </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/MPPrint&quot;</span><span class=cF0>);
<a name="l1671"></a> TS(</span><span class=cF6>&quot;Lock&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> &gt; </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Lock&quot;</span><span class=cF0>);
<a name="l1672"></a> TS(</span><span class=cF6>&quot;Interrupts&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> &gt; </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Interrupts&quot;</span><span class=cF0>);
<a name="l1673"></a> TS(</span><span class=cF6>&quot;SpritePlot&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/SpritePlot&quot;</span><span class=cF0>);
<a name="l1674"></a> TS(</span><span class=cF6>&quot;Elephants&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Elephant&quot;</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1675"></a> TS(</span><span class=cF6>&quot;SpritePlot3D&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/SpritePlot3D&quot;</span><span class=cF0>);
<a name="l1676"></a> TS(</span><span class=cF6>&quot;SpritePut&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/SpritePut&quot;</span><span class=cF0>);
<a name="l1677"></a> TS(</span><span class=cF6>&quot;SpritePutExt&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/SpritePutExt&quot;</span><span class=cF0>);
<a name="l1678"></a> TS(</span><span class=cF6>&quot;SpriteText&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/SpriteText&quot;</span><span class=cF0>);
<a name="l1679"></a> TS(</span><span class=cF6>&quot;SpriteRaw&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/SpriteRaw&quot;</span><span class=cF0>);
<a name="l1680"></a> TS(</span><span class=cF6>&quot;EdSprite&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/EdSprite&quot;</span><span class=cF0>);
<a name="l1681"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS(&quot;Balloon&quot;);</span><span class=cF0> </span><span class=cF2>TSFile(&quot;::/Demo/Graphics/Balloon&quot;, 0);</span><span class=cF0>
<a name="l1682"></a> TS(</span><span class=cF6>&quot;Carry&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Carry&quot;</span><span class=cF0>);
<a name="l1683"></a> TS(</span><span class=cF6>&quot;Directives&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Directives&quot;</span><span class=cF0>);
<a name="l1684"></a> TS(</span><span class=cF6>&quot;RandDemo&quot;</span><span class=cF0>); DoRandDemo;
<a name="l1685"></a> TS(</span><span class=cF6>&quot;Extents&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Extents&quot;</span><span class=cF0>);
<a name="l1686"></a> TS(</span><span class=cF6>&quot;NetOfDots&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/NetOfDots&quot;</span><span class=cF0>);
<a name="l1687"></a> TS(</span><span class=cF6>&quot;SunMoon&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/SunMoon&quot;</span><span class=cF0>);
<a name="l1688"></a> TS(</span><span class=cF6>&quot;LowPassFilter&quot;</span><span class=cF0>); DoLowPassFilter;
<a name="l1689"></a> TS(</span><span class=cF6>&quot;MathAudioDemo&quot;</span><span class=cF0>); DoMathAudioDemo;
<a name="l1690"></a> TS(</span><span class=cF6>&quot;Lines&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Lines&quot;</span><span class=cF0>);
<a name="l1691"></a> TS(</span><span class=cF6>&quot;Bounce&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Bounce&quot;</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1692"></a> TS(</span><span class=cF6>&quot;MessageLoop&quot;</span><span class=cF0>); DoMessageLoop;
<a name="l1693"></a> TS(</span><span class=cF6>&quot;ASCIIOrgan&quot;</span><span class=cF0>); DoASCIIOrgan;
<a name="l1694"></a> TS(</span><span class=cF6>&quot;MorseCode&quot;</span><span class=cF0>); DoMorseCode;
<a name="l1695"></a> TS(</span><span class=cF6>&quot;PixCollision&quot;</span><span class=cF0>); DoPixCollision;
<a name="l1696"></a> TS(</span><span class=cF6>&quot;Doodle&quot;</span><span class=cF0>); DoDoodle;
<a name="l1697"></a> TS(</span><span class=cF6>&quot;MassSpring&quot;</span><span class=cF0>); DoMassSpring;
<a name="l1698"></a> TS(</span><span class=cF6>&quot;SpeedLine&quot;</span><span class=cF0>); DoSpeedLine;
<a name="l1699"></a> TS(</span><span class=cF6>&quot;KeyBitMap&quot;</span><span class=cF0>); DoKeyBitMap;
<a name="l1700"></a> TS(</span><span class=cF6>&quot;BSpline&quot;</span><span class=cF0>); DoBSpline;
<a name="l1701"></a> TS(</span><span class=cF6>&quot;GrModels&quot;</span><span class=cF0>); DoGrModels;
<a name="l1702"></a> TS(</span><span class=cF6>&quot;Blot&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Blot&quot;</span><span class=cF0>, </span><span class=cFE>1800</span><span class=cF0>);
<a name="l1703"></a> TS(</span><span class=cF6>&quot;ScreenCapture&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoScreenCapture;
<a name="l1704"></a> TS(</span><span class=cF6>&quot;Grid&quot;</span><span class=cF0>); DoGrid;
<a name="l1705"></a> TS(</span><span class=cF6>&quot;Pick&quot;</span><span class=cF0>); DoPick;
<a name="l1706"></a> TS(</span><span class=cF6>&quot;Pick3D&quot;</span><span class=cF0>); DoPick3D;
<a name="l1707"></a> TS(</span><span class=cF6>&quot;Whap&quot;</span><span class=cF0>); DoWhap;
<a name="l1708"></a> TS(</span><span class=cF6>&quot;Palette&quot;</span><span class=cF0>); DoPalette;
<a name="l1709"></a> TS(</span><span class=cF6>&quot;Print&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Print&quot;</span><span class=cF0>);
<a name="l1710"></a> TS(</span><span class=cF6>&quot;Shading&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Shading&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
<a name="l1711"></a> TS(</span><span class=cF6>&quot;RotateTank&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/RotateTank&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
<a name="l1712"></a> TS(</span><span class=cF6>&quot;3DPoly&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/3DPoly&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
<a name="l1713"></a> TS(</span><span class=cF6>&quot;Box&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Box&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
<a name="l1714"></a> TS(</span><span class=cF6>&quot;Symmetry&quot;</span><span class=cF0>); DoSymmetry;
<a name="l1715"></a> TS(</span><span class=cF6>&quot;Shadow&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Shadow&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
<a name="l1716"></a> TS(</span><span class=cF6>&quot;Transform&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Transform&quot;</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1717"></a> TS(</span><span class=cF6>&quot;LightTable&quot;</span><span class=cF0>); DoLightTable;
<a name="l1718"></a> TS(</span><span class=cF6>&quot;PredatorPrey&quot;</span><span class=cF0>); DoPredatorPrey;
<a name="l1719"></a> TS(</span><span class=cF6>&quot;PoleZeros&quot;</span><span class=cF0>); DoPoleZeros;
<a name="l1720"></a> TS(</span><span class=cF6>&quot;Digits&quot;</span><span class=cF0>); DoDigits;
<a name="l1721"></a> TS(</span><span class=cF6>&quot;Stadium&quot;</span><span class=cF0>); DoStadium;
<a name="l1722"></a> TS(</span><span class=cF6>&quot;ElephantWalk&quot;</span><span class=cF0>); DoElephantWalk;
<a name="l1723"></a> TS(</span><span class=cF6>&quot;Halogen&quot;</span><span class=cF0>); DoHalogen;
<a name="l1724"></a> TS(</span><span class=cF6>&quot;Maze&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Games/Maze&quot;</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1725"></a> TS(</span><span class=cF6>&quot;FontEd&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/FontEd&quot;</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1726"></a> TS(</span><span class=cF6>&quot;Lattice&quot;</span><span class=cF0>); DoLattice;
<a name="l1727"></a> TS(</span><span class=cF6>&quot;CtrlR1&quot;</span><span class=cF0>); DoCtrlR1;
<a name="l1728"></a> TS(</span><span class=cF6>&quot;F2Macro&quot;</span><span class=cF0>); DoF2Macro;
<a name="l1729"></a> TS(</span><span class=cF6>&quot;SubIntAccess&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/SubIntAccess&quot;</span><span class=cF0>);
<a name="l1730"></a> TS(</span><span class=cF6>&quot;DemoDoc&quot;</span><span class=cF0>); DoDemoDoc;
<a name="l1731"></a> TS(</span><span class=cF6>&quot;TreeDemo&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DolDoc/TreeDemo&quot;</span><span class=cF0>);
<a name="l1732"></a> TS(</span><span class=cF6>&quot;TextDemo&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DolDoc/TextDemo&quot;</span><span class=cF0>);
<a name="l1733"></a> TS(</span><span class=cF6>&quot;CursorMove&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DolDoc/CursorMove&quot;</span><span class=cF0>);
<a name="l1734"></a> TS(</span><span class=cF6>&quot;MiniCompiler&quot;</span><span class=cF0>); DoMiniCompiler;
<a name="l1735"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS(&quot;MiniGrLib&quot;);</span><span class=cF0> </span><span class=cF2>TSFile(&quot;::/Demo/Lectures/MiniGrLib&quot;, 0);</span><span class=cF0>
<a name="l1736"></a> TS(</span><span class=cF6>&quot;TimeIns&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/TimeIns&quot;</span><span class=cF0>);
<a name="l1737"></a> TS(</span><span class=cF6>&quot;PhoneNumWords&quot;</span><span class=cF0>); DoPhoneNumWords;
<a name="l1738"></a> TS(</span><span class=cF6>&quot;UnusedSpaceRep&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Disk/UnusedSpaceRep&quot;</span><span class=cF0>);
<a name="l1739"></a> TS(</span><span class=cF6>&quot;BlkDevRep&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Disk/BlkDevRep&quot;</span><span class=cF0>);
<a name="l1740"></a> TS(</span><span class=cF6>&quot;LastClass&quot;</span><span class=cF0>); DoLastClass;
<a name="l1741"></a> TS(</span><span class=cF6>&quot;FPrintF&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoFPrintF;
<a name="l1742"></a> TS(</span><span class=cF6>&quot;SerializeTree&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Disk/SerializeTree&quot;</span><span class=cF0>);
<a name="l1743"></a> TS(</span><span class=cF6>&quot;Exceptions&quot;</span><span class=cF0>); DoExceptions;
<a name="l1744"></a> TS(</span><span class=cF6>&quot;ScreenDCodes&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/ScreenCodes&quot;</span><span class=cF0>);
<a name="l1745"></a> TS(</span><span class=cF6>&quot;ExtChars&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/ExtChars&quot;</span><span class=cF0>);
<a name="l1746"></a> TS(</span><span class=cF6>&quot;PanText&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/PanText&quot;</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1747"></a> TS(</span><span class=cF6>&quot;CharAnimation&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/CharAnimation&quot;</span><span class=cF0>);
<a name="l1748"></a> TS(</span><span class=cF6>&quot;CharDemo&quot;</span><span class=cF0>); DoCharDemo;
<a name="l1749"></a> TS(</span><span class=cF6>&quot;DateTime&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DateTime&quot;</span><span class=cF0>);
<a name="l1750"></a> TS(</span><span class=cF6>&quot;SubSwitch&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/SubSwitch&quot;</span><span class=cF0>);
<a name="l1751"></a> TS(</span><span class=cF6>&quot;NullCase&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/NullCase&quot;</span><span class=cF0>);
<a name="l1752"></a> TS(</span><span class=cF6>&quot;Magicpairs&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/MagicPairs&quot;</span><span class=cF0>);
<a name="l1753"></a> TS(</span><span class=cF6>&quot;Hanoi&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/Hanoi&quot;</span><span class=cF0>, </span><span class=cFE>3000</span><span class=cF0>);
<a name="l1754"></a> TS(</span><span class=cF6>&quot;Squirt&quot;</span><span class=cF0>); DoSquirt;
<a name="l1755"></a> TS(</span><span class=cF6>&quot;CommonAncestor&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/CommonAncestor&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1756"></a> TS(</span><span class=cF6>&quot;Cartesian&quot;</span><span class=cF0>); DoCartesian;
<a name="l1757"></a> TS(</span><span class=cF6>&quot;RainDrops&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Games/RainDrops&quot;</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1758"></a> TS(</span><span class=cF6>&quot;Collision&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Games/Collision&quot;</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
<a name="l1759"></a> TS(</span><span class=cF6>&quot;Logic&quot;</span><span class=cF0>); DoLogic;
<a name="l1760"></a> TS(</span><span class=cF6>&quot;CompileDemo&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/CompileDemo&quot;</span><span class=cF0>);
<a name="l1761"></a> TS(</span><span class=cF6>&quot;Prompt&quot;</span><span class=cF0>); DoPrompt;
<a name="l1762"></a> TS(</span><span class=cF6>&quot;WebLog&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoWebLog;
<a name="l1763"></a> TS(</span><span class=cF6>&quot;RevFile&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoRevFile;
<a name="l1764"></a> TS(</span><span class=cF6>&quot;SortFile&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoSortFile;
<a name="l1765"></a> TS(</span><span class=cF6>&quot;ToHtmlToTXT&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoToHtmlToTXT;
<a name="l1766"></a> TS(</span><span class=cF6>&quot;RegistryDemo&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) TSFile(</span><span class=cF6>&quot;::/Demo/RegistryDemo&quot;</span><span class=cF0>);
<a name="l1767"></a> TS(</span><span class=cF6>&quot;Define&quot;</span><span class=cF0>); DoDefine;
<a name="l1768"></a> TS(</span><span class=cF6>&quot;GlobalVars&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/GlobalVars&quot;</span><span class=cF0>);
<a name="l1769"></a> TS(</span><span class=cF6>&quot;FileRead&quot;</span><span class=cF0>); DoFileRead;
<a name="l1770"></a> TS(</span><span class=cF6>&quot;ParenWarn&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/ParenWarn&quot;</span><span class=cF0>);
<a name="l1771"></a> TS(</span><span class=cF6>&quot;DefineStr&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DolDoc/DefineStr&quot;</span><span class=cF0>);
<a name="l1772"></a> TS(</span><span class=cF6>&quot;Data&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DolDoc/Data&quot;</span><span class=cF0>);
<a name="l1773"></a> TS(</span><span class=cF6>&quot;CallBack&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/DolDoc/CallBack&quot;</span><span class=cF0>);
<a name="l1774"></a> TS(</span><span class=cF6>&quot;ClassMeta&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/ClassMeta&quot;</span><span class=cF0>);
<a name="l1775"></a> TS(</span><span class=cF6>&quot;NumBible&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoNumBible;
<a name="l1776"></a> TS(</span><span class=cF6>&quot;Form&quot;</span><span class=cF0>); DoForm;
<a name="l1777"></a> TS(</span><span class=cF6>&quot;ClickCallBack&quot;</span><span class=cF0>); DoClickCallBack;
<a name="l1778"></a> TS(</span><span class=cF6>&quot;MenuBttn&quot;</span><span class=cF0>); DoMenuBttn;
<a name="l1779"></a> TS(</span><span class=cF6>&quot;MenuSprite&quot;</span><span class=cF0>); DoMenuSprite;
<a name="l1780"></a> TS(</span><span class=cF6>&quot;SuggestedSpelling&quot;</span><span class=cF0>);DoSuggestedSpelling;
<a name="l1781"></a> TS(</span><span class=cF6>&quot;WordSearch&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/WordSearch&quot;</span><span class=cF0>);
<a name="l1782"></a> TS(</span><span class=cF6>&quot;StackGrow&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/StackGrow&quot;</span><span class=cF0>);
<a name="l1783"></a> TS(</span><span class=cF6>&quot;MemDemo&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/MemDemo&quot;</span><span class=cF0>);
<a name="l1784"></a> TS(</span><span class=cF6>&quot;WaterFowl&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Sound/WaterFowl&quot;</span><span class=cF0>);
<a name="l1785"></a> TS(</span><span class=cF6>&quot;AsmHelloWorld&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Asm/AsmHelloWorld&quot;</span><span class=cF0>);
<a name="l1786"></a> TS(</span><span class=cF6>&quot;AsmAndC1&quot;</span><span class=cF0>); DoAsmAndC1;
<a name="l1787"></a> TS(</span><span class=cF6>&quot;AsmAndC2&quot;</span><span class=cF0>); DoAsmAndC2;
<a name="l1788"></a> TS(</span><span class=cF6>&quot;AsmAndC3&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Asm/AsmAndC3&quot;</span><span class=cF0>);
<a name="l1789"></a> TS(</span><span class=cF6>&quot;MulByHand&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Asm/MulByHand&quot;</span><span class=cF0>);
<a name="l1790"></a> TS(</span><span class=cF6>&quot;DivByHand&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Asm/DivByHand&quot;</span><span class=cF0>);
<a name="l1791"></a> TS(</span><span class=cF6>&quot;BuzzFizz&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Asm/BuzzFizz&quot;</span><span class=cF0>);
<a name="l1792"></a> TS(</span><span class=cF6>&quot;PutDec&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Asm/PutDec&quot;</span><span class=cF0>);
<a name="l1793"></a>
<a name="l1794"></a> task = </span><span class=cF5>User</span><span class=cF0>;
<a name="l1795"></a> TS(</span><span class=cF6>&quot;Prof&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;DocMax;Prof;HeapLog(ON);\n&quot;</span><span class=cF0>);
<a name="l1796"></a> TS(</span><span class=cF6>&quot;PCIRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;PCIRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1797"></a> TS(</span><span class=cF6>&quot;MemBIOSRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;MemBIOSRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1798"></a> TS(</span><span class=cF6>&quot;MemPageRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;MemPageRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1799"></a> TS(</span><span class=cF6>&quot;MemRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;MemRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1800"></a> TS(</span><span class=cF6>&quot;ProfRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;ProfRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1801"></a> TS(</span><span class=cF6>&quot;HeapLogSizeRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;HeapLogSizeRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1802"></a> TS(</span><span class=cF6>&quot;CPURep&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> &gt; </span><span class=cFE>1</span><span class=cF0>) </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;CPURep(TRUE);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1803"></a> TS(</span><span class=cF6>&quot;DiskCheck&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;DiskCheck;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1804"></a> TS(</span><span class=cF6>&quot;DriveView&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>)
<a name="l1805"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1806"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;DriveView;\n&quot;</span><span class=cF0>);
<a name="l1807"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
<a name="l1808"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1809"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1810"></a> TS(</span><span class=cF6>&quot;DiskView&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>)
<a name="l1811"></a> </span><span class=cF7>{</span><span class=cF0>
<a name="l1812"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;DiskView;\n&quot;</span><span class=cF0>);
<a name="l1813"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
<a name="l1814"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
<a name="l1815"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1816"></a> TS(</span><span class=cF6>&quot;SATARep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;SATARep;\nSleep(750);\n&quot;</span><span class=cF0>);
<a name="l1817"></a> TS(</span><span class=cF6>&quot;HashDepthRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;HashDepthRep(sys_task-&gt;hash_table);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1818"></a> TS(</span><span class=cF6>&quot;HashTableDump&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;HashTableDump;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1819"></a> TS(</span><span class=cF6>&quot;DriveRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;DriveRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1820"></a> TS(</span><span class=cF6>&quot;TaskRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;TaskRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1821"></a> TS(</span><span class=cF6>&quot;VideoRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;VideoRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1822"></a> TS(</span><span class=cF6>&quot;SysRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>&quot;SysRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1823"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task, </span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1824"></a>
<a name="l1825"></a> </span><span class=cF5>ProgressBarsReset</span><span class=cF0>(</span><span class=cF6>&quot;ZealOS/OSTestSuite&quot;</span><span class=cF0>);
<a name="l1826"></a> </span><span class=cF6>&quot;Elapsed Time:%5.3f\n&quot;</span><span class=cF0>, </span><span class=cF5>tS</span><span class=cF0> - ts_t0;
<a name="l1827"></a>}
<a name="l1828"></a>
<a name="l1829"></a>OSTestSuite;
</span></pre></body>
</html>