templeos-info/public/Wb/Misc/OSTestSuite.HC.HTML

1755 lines
209 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
<pre id="content">
<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="/Wb/Kernel/KMisc.HC.HTML#l322"><span class=cF4>ProgressBarsRst</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> </span><span class=cF1>if</span><span class=cF0> (*desc)
<a name="l8"></a> </span><span class=cFB>progress3_max</span><span class=cF0>=1;
<a name="l9"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l10"></a> </span><span class=cFB>progress3_max</span><span class=cF0>=0;
<a name="l11"></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="l12"></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;1,</span><span class=cF3>CH_SPACE</span><span class=cF0>,st);
<a name="l13"></a> </span><span class=cF5>Free</span><span class=cF0>(st);
<a name="l14"></a> </span><span class=cFB>progress4</span><span class=cF0>=ts_i++;
<a name="l15"></a> </span><span class=cFB>progress4_max</span><span class=cF0>=171;
<a name="l16"></a> </span><span class=cFB>progress4_t0</span><span class=cF0>=ts_t0;
<a name="l17"></a> *</span><span class=cFB>progress4_desc</span><span class=cF0>=0;
<a name="l18"></a> </span><span class=cF5>RegExe</span><span class=cF0>(</span><span class=cF6>&quot;TempleOS/OSTestSuite&quot;</span><span class=cF0>);
<a name="l19"></a>}
<a name="l20"></a>
<a name="l21"></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=750)
<a name="l22"></a>{
<a name="l23"></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="l24"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l25"></a>}
<a name="l26"></a>
<a name="l27"></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=750,</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="l28"></a>{
<a name="l29"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l30"></a> </span><span class=cF1>if</span><span class=cF0> (wait)
<a name="l31"></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="l32"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l33"></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="l34"></a> </span><span class=cF5>Sleep</span><span class=cF0>(mS);
<a name="l35"></a> </span><span class=cF1>if</span><span class=cF0> (ch)
<a name="l36"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,ch,0);
<a name="l37"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l38"></a>}
<a name="l39"></a>
<a name="l40"></a></span><span class=cF2>/*</span><span class=cF0>
<a name="l41"></a></span><span class=cF2>U0 DoMouseDemo()</span><span class=cF0>
<a name="l42"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l43"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Graphics/MouseDemo\&quot;;\n&quot;);</span><span class=cF0>
<a name="l44"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l45"></a></span><span class=cF2>U0 DoPullDownMenu()</span><span class=cF0>
<a name="l46"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l47"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/PullDownMenu\&quot;;\n&quot;);</span><span class=cF0>
<a name="l48"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l49"></a></span><span class=cF2>U0 DoTicTacToe()</span><span class=cF0>
<a name="l50"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l51"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Games/TicTacToe\&quot;;\n&quot;);</span><span class=cF0>
<a name="l52"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l53"></a></span><span class=cF2>U0 DoLife()</span><span class=cF0>
<a name="l54"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l55"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Graphics/Life\&quot;;\n&quot;);</span><span class=cF0>
<a name="l56"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l57"></a></span><span class=cF2>U0 DoZing()</span><span class=cF0>
<a name="l58"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l59"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Games/Zing\&quot;;\n&quot;);</span><span class=cF0>
<a name="l60"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l61"></a></span><span class=cF2>U0 DoSlider()</span><span class=cF0>
<a name="l62"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l63"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Graphics/Slider\&quot;;\n&quot;);</span><span class=cF0>
<a name="l64"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l65"></a></span><span class=cF2>U0 DoScrollBars()</span><span class=cF0>
<a name="l66"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l67"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Graphics/ScrollBars\&quot;;\n&quot;);</span><span class=cF0>
<a name="l68"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l69"></a></span><span class=cF2>U0 DoWhap()</span><span class=cF0>
<a name="l70"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l71"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Games/Whap\&quot;;\n&quot;);</span><span class=cF0>
<a name="l72"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l73"></a></span><span class=cF2>U0 DoDataBase()</span><span class=cF0>
<a name="l74"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l75"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Dsk/DataBase\&quot;;\n&quot;);</span><span class=cF0>
<a name="l76"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l77"></a></span><span class=cF2>U0 DoDskRaw()</span><span class=cF0>
<a name="l78"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l79"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Dsk/DskRaw\&quot;;\n&quot;);</span><span class=cF0>
<a name="l80"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l81"></a></span><span class=cF2>U0 DoTimeClock()</span><span class=cF0>
<a name="l82"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l83"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Apps/TimeClock\&quot;;\n&quot;);</span><span class=cF0>
<a name="l84"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l85"></a></span><span class=cF2>U0 DoLectures()</span><span class=cF0>
<a name="l86"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l87"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Lectures\&quot;;\n&quot;);</span><span class=cF0>
<a name="l88"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l89"></a></span><span class=cF2>U0 DoInFile()</span><span class=cF0>
<a name="l90"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l91"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/InFile\&quot;;\n&quot;);</span><span class=cF0>
<a name="l92"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l93"></a></span><span class=cF2>U0 DoSpy()</span><span class=cF0>
<a name="l94"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l95"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/Spy\&quot;;\n&quot;);</span><span class=cF0>
<a name="l96"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l97"></a></span><span class=cF2>U0 DoUnusedDefine()</span><span class=cF0>
<a name="l98"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l99"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/DolDoc/UnusedDefine\&quot;;\n&quot;);</span><span class=cF0>
<a name="l100"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l101"></a></span><span class=cF2>U0 DoOnceDemo()</span><span class=cF0>
<a name="l102"></a></span><span class=cF2>{</span><span class=cF0>
<a name="l103"></a></span><span class=cF2> XTalkWait(task,&quot;#include \&quot;::/Demo/OnceDemo\&quot;;\n&quot;);</span><span class=cF0>
<a name="l104"></a></span><span class=cF2>}</span><span class=cF0>
<a name="l105"></a></span><span class=cF2>*/</span><span class=cF0>
<a name="l106"></a>
<a name="l107"></a></span><span class=cF1>U0</span><span class=cF0> DoRandDemo()
<a name="l108"></a>{
<a name="l109"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l110"></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="l111"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot; &quot;</span><span class=cF0>);
<a name="l112"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot; &quot;</span><span class=cF0>);
<a name="l113"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l114"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l115"></a>}
<a name="l116"></a>
<a name="l117"></a></span><span class=cF1>U0</span><span class=cF0> DoLowPassFilter()
<a name="l118"></a>{
<a name="l119"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l120"></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="l121"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l122"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l123"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l124"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l125"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l126"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l127"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l128"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l129"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l130"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l131"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l132"></a>}
<a name="l133"></a>
<a name="l134"></a></span><span class=cF1>U0</span><span class=cF0> DoMathAudioDemo()
<a name="l135"></a>{
<a name="l136"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l137"></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="l138"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l139"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l140"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l141"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l142"></a>
<a name="l143"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l144"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l145"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l146"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l147"></a>
<a name="l148"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l149"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l150"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l151"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l152"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l153"></a>}
<a name="l154"></a>
<a name="l155"></a></span><span class=cF1>U0</span><span class=cF0> DoMsgLoop()
<a name="l156"></a>{
<a name="l157"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l158"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;#include \&quot;::/Demo/MsgLoop\&quot;;\n&quot;</span><span class=cF0>);
<a name="l159"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l160"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l161"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l162"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l163"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l164"></a>}
<a name="l165"></a>
<a name="l166"></a></span><span class=cF1>U0</span><span class=cF0> DoASCIIOrgan()
<a name="l167"></a>{
<a name="l168"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l169"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;#include \&quot;::/Demo/Snd/ASCIIOrgan\&quot;;\n&quot;</span><span class=cF0>);
<a name="l170"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l171"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'A'</span><span class=cF0>,0);
<a name="l172"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l173"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'B'</span><span class=cF0>,0);
<a name="l174"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l175"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'C'</span><span class=cF0>,0);
<a name="l176"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l177"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l178"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l179"></a>}
<a name="l180"></a>
<a name="l181"></a></span><span class=cF1>U0</span><span class=cF0> DoDoodle()
<a name="l182"></a>{
<a name="l183"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l184"></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="l185"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,10,10);
<a name="l186"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,100,200);
<a name="l187"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l188"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l189"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l190"></a>}
<a name="l191"></a>
<a name="l192"></a></span><span class=cF1>U0</span><span class=cF0> DoSpeedLine()
<a name="l193"></a>{
<a name="l194"></a> </span><span class=cF9>I64</span><span class=cF0> i=</span><span class=cF3>PURPLE</span><span class=cF0>+1; </span><span class=cF2>//+1 because TRANSPARENT</span><span class=cF0>
<a name="l195"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l196"></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="l197"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,10,10);
<a name="l198"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,100,200);
<a name="l199"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,0,0);
<a name="l200"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l201"></a> </span><span class=cF1>while</span><span class=cF0> (i--)
<a name="l202"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l203"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l204"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task);
<a name="l205"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,50,10);
<a name="l206"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,150,200);
<a name="l207"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l208"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l209"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l210"></a>}
<a name="l211"></a>
<a name="l212"></a></span><span class=cF1>U0</span><span class=cF0> DoKeyBitMap()
<a name="l213"></a>{
<a name="l214"></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="l215"></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="l216"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l217"></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="l218"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l219"></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="l220"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l221"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l222"></a>}
<a name="l223"></a>
<a name="l224"></a></span><span class=cF1>U0</span><span class=cF0> DoDigits()
<a name="l225"></a>{
<a name="l226"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l227"></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="l228"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l229"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l230"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l231"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l232"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l233"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'1'</span><span class=cF0>,0);
<a name="l234"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l235"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l236"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l237"></a>}
<a name="l238"></a>
<a name="l239"></a></span><span class=cF1>U0</span><span class=cF0> DoSymmetry()
<a name="l240"></a>{
<a name="l241"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l242"></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="l243"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN</span><span class=cF0>,100,100);
<a name="l244"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_UP</span><span class=cF0>,200,200);
<a name="l245"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l246"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,10,10);
<a name="l247"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,100,200);
<a name="l248"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l249"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,100,200);
<a name="l250"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,400,400);
<a name="l251"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l252"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l253"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l254"></a>}
<a name="l255"></a>
<a name="l256"></a></span><span class=cF1>U0</span><span class=cF0> DoBSpline()
<a name="l257"></a>{
<a name="l258"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l259"></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="l260"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,50,50);
<a name="l261"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,300,100);
<a name="l262"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,150,300);
<a name="l263"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,0,0);
<a name="l264"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l265"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l266"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l267"></a>}
<a name="l268"></a>
<a name="l269"></a></span><span class=cF1>U0</span><span class=cF0> DoScrnCapture()
<a name="l270"></a>{
<a name="l271"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l272"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;#include \&quot;::/Demo/Graphics/ScrnCapture\&quot;;\n&quot;</span><span class=cF0>);
<a name="l273"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l274"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l275"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l276"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l277"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l278"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l279"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l280"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>&quot;~/DemoScrnShot.GR*&quot;</span><span class=cF0>);
<a name="l281"></a>}
<a name="l282"></a>
<a name="l283"></a></span><span class=cF1>U0</span><span class=cF0> DoStadium()
<a name="l284"></a>{
<a name="l285"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l286"></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="l287"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l288"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,100,10);
<a name="l289"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l290"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,320,20);
<a name="l291"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l292"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,520,10);
<a name="l293"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l294"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l295"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l296"></a>}
<a name="l297"></a>
<a name="l298"></a></span><span class=cF1>U0</span><span class=cF0> DoPalette()
<a name="l299"></a>{
<a name="l300"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l301"></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="l302"></a> </span><span class=cF5>Sleep</span><span class=cF0>(400);
<a name="l303"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l304"></a> </span><span class=cF5>Sleep</span><span class=cF0>(400);
<a name="l305"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l306"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l307"></a>}
<a name="l308"></a>
<a name="l309"></a></span><span class=cF1>U0</span><span class=cF0> DoElephantWalk()
<a name="l310"></a>{
<a name="l311"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l312"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l313"></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="l314"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;15;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l315"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l316"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l317"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l318"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l319"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l320"></a>}
<a name="l321"></a>
<a name="l322"></a></span><span class=cF1>U0</span><span class=cF0> DoHalogen()
<a name="l323"></a>{
<a name="l324"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l325"></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="l326"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l327"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l328"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l329"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l330"></a> </span><span class=cF5>Sleep</span><span class=cF0>(333);
<a name="l331"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l332"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l333"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l334"></a>}
<a name="l335"></a>
<a name="l336"></a></span><span class=cF1>U0</span><span class=cF0> DoTheDead()
<a name="l337"></a>{
<a name="l338"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l339"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l340"></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="l341"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;15;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l342"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l343"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l344"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l345"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l346"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;15;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l347"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l348"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l349"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l350"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l351"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l352"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l353"></a>}
<a name="l354"></a>
<a name="l355"></a></span><span class=cF1>U0</span><span class=cF0> DoBomberGolf()
<a name="l356"></a>{
<a name="l357"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l358"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l359"></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="l360"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;7;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l361"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l362"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l363"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l364"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l365"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l366"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;7;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l367"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l368"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l369"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l370"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l371"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l372"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l373"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l374"></a>}
<a name="l375"></a>
<a name="l376"></a></span><span class=cF1>U0</span><span class=cF0> DoZoneOut()
<a name="l377"></a>{
<a name="l378"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l379"></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="l380"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l381"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l382"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l383"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;15;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l384"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l385"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l386"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l387"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l388"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l389"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l390"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l391"></a>}
<a name="l392"></a>
<a name="l393"></a></span><span class=cF1>U0</span><span class=cF0> DoVaroom()
<a name="l394"></a>{
<a name="l395"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l396"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l397"></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="l398"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l399"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l400"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l401"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l402"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l403"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l404"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l405"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l406"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l407"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l408"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l409"></a>}
<a name="l410"></a>
<a name="l411"></a></span><span class=cF1>U0</span><span class=cF0> DoFlatTops()
<a name="l412"></a>{
<a name="l413"></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="l414"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l415"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l416"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l417"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l418"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,</span><span class=cF5>RandI16</span><span class=cF0>%400+200,</span><span class=cF5>RandI16</span><span class=cF0>%300+150);
<a name="l419"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l420"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l421"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l422"></a>}
<a name="l423"></a>
<a name="l424"></a></span><span class=cF1>U0</span><span class=cF0> DoWenceslas()
<a name="l425"></a>{
<a name="l426"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l427"></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="l428"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l429"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l430"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l431"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l432"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l433"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l434"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l435"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l436"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l437"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l438"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l439"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l440"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;25;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l441"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l442"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l443"></a> </span><span class=cF5>Sleep</span><span class=cF0>(25);
<a name="l444"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l445"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l446"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l447"></a>}
<a name="l448"></a>
<a name="l449"></a></span><span class=cF1>U0</span><span class=cF0> DoTreeCheckers()
<a name="l450"></a>{
<a name="l451"></a> </span><span class=cF9>I64</span><span class=cF0> task_num;
<a name="l452"></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="l453"></a>
<a name="l454"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l455"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l456"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l457"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l458"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l459"></a>
<a name="l460"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l461"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l462"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l463"></a>
<a name="l464"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l465"></a>
<a name="l466"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'\n'</span><span class=cF0>,0);
<a name="l467"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l468"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l469"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l470"></a>}
<a name="l471"></a>
<a name="l472"></a></span><span class=cF1>U0</span><span class=cF0> DoMorseCode()
<a name="l473"></a>{
<a name="l474"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l475"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;#include \&quot;::/Demo/Snd/MorseCode\&quot;;\n&quot;</span><span class=cF0>);
<a name="l476"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l477"></a>
<a name="l478"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l479"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l480"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l481"></a> </span><span class=cF5>Sleep</span><span class=cF0>(350);
<a name="l482"></a>
<a name="l483"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l484"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l485"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l486"></a> </span><span class=cF5>Sleep</span><span class=cF0>(350);
<a name="l487"></a>
<a name="l488"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l489"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l490"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l491"></a> </span><span class=cF5>Sleep</span><span class=cF0>(25);
<a name="l492"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l493"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l494"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l495"></a> </span><span class=cF5>Sleep</span><span class=cF0>(25);
<a name="l496"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l497"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l498"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l499"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l500"></a>
<a name="l501"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l502"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l503"></a>}
<a name="l504"></a>
<a name="l505"></a></span><span class=cF1>U0</span><span class=cF0> DoPixCollision()
<a name="l506"></a>{
<a name="l507"></a> </span><span class=cF9>I64</span><span class=cF0> w,h;
<a name="l508"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l509"></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="l510"></a> w=task-&gt;pix_width&gt;&gt;1 +task-&gt;pix_left+task-&gt;scroll_x;
<a name="l511"></a> h=task-&gt;pix_height&gt;&gt;1+task-&gt;pix_top +task-&gt;scroll_y;
<a name="l512"></a> </span><span class=cF5>MsSet</span><span class=cF0>(w-35,h-35);
<a name="l513"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(10,w+35,w+35);
<a name="l514"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l515"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l516"></a>}
<a name="l517"></a>
<a name="l518"></a></span><span class=cF1>U0</span><span class=cF0> DoBlackDiamond()
<a name="l519"></a>{
<a name="l520"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l521"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l522"></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="l523"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;15;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l524"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l525"></a> </span><span class=cF5>Sleep</span><span class=cF0>(75);
<a name="l526"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l527"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;12;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l528"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l529"></a> </span><span class=cF5>Sleep</span><span class=cF0>(75);
<a name="l530"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l531"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l532"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l533"></a>}
<a name="l534"></a>
<a name="l535"></a></span><span class=cF1>U0</span><span class=cF0> DoCtrlR1()
<a name="l536"></a>{
<a name="l537"></a> </span><span class=cF9>I64</span><span class=cF0> i,task_num;
<a name="l538"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l539"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;//&quot;</span><span class=cF0>);
<a name="l540"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_CTRLR</span><span class=cF0>,0);
<a name="l541"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l542"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l543"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;1;i++)
<a name="l544"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l545"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l546"></a> </span><span class=cF2>//Color</span><span class=cF0>
<a name="l547"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l548"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l549"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;2;i++)
<a name="l550"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l551"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l552"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l553"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l554"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;2;i++)
<a name="l555"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l556"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l557"></a>
<a name="l558"></a> </span><span class=cF2>//Width</span><span class=cF0>
<a name="l559"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l560"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l561"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;4;i++)
<a name="l562"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l563"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l564"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l565"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l566"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;4;i++)
<a name="l567"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l568"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l569"></a>
<a name="l570"></a> </span><span class=cF2>//Line</span><span class=cF0>
<a name="l571"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l572"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l573"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;7;i++)
<a name="l574"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l575"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l576"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l577"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,150,150);
<a name="l578"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,150,95);
<a name="l579"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l580"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,150,150);
<a name="l581"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,190,190);
<a name="l582"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l583"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,150,150);
<a name="l584"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,110,190);
<a name="l585"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l586"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,100,100);
<a name="l587"></a>
<a name="l588"></a> </span><span class=cF2>//Color</span><span class=cF0>
<a name="l589"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l590"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l591"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;2;i++)
<a name="l592"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l593"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l594"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l595"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l596"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;3;i++)
<a name="l597"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l598"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l599"></a>
<a name="l600"></a> </span><span class=cF2>//Circle</span><span class=cF0>
<a name="l601"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l602"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l603"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++)
<a name="l604"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l605"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l606"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l607"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,150,150);
<a name="l608"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,190,190);
<a name="l609"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l610"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,100,100);
<a name="l611"></a>
<a name="l612"></a> </span><span class=cF2>//Exit</span><span class=cF0>
<a name="l613"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l614"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>+</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
<a name="l615"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l616"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l617"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l618"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l619"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task,</span><span class=cF6>&quot;\n&quot;</span><span class=cF0>);
<a name="l620"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l621"></a>}
<a name="l622"></a>
<a name="l623"></a></span><span class=cF1>U0</span><span class=cF0> DoF2Macro()
<a name="l624"></a>{
<a name="l625"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l626"></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="l627"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l628"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l629"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_F2</span><span class=cF0>);
<a name="l630"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l631"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l632"></a>
<a name="l633"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>|</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
<a name="l634"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l635"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l636"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0); </span><span class=cF2>//Press RECORD</span><span class=cF0>
<a name="l637"></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>],0</span><span class=cF7>)</span><span class=cF0>)
<a name="l638"></a> </span><span class=cF5>Yield</span><span class=cF0>;
<a name="l639"></a>
<a name="l640"></a> </span><span class=cF1>while</span><span class=cF0> (*ptr)
<a name="l641"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,*ptr++,0);
<a name="l642"></a>
<a name="l643"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l644"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l645"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0); </span><span class=cF2>//Press STOP</span><span class=cF0>
<a name="l646"></a>
<a name="l647"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++)
<a name="l648"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_F2</span><span class=cF0>|</span><span class=cF3>SCF_SHIFT</span><span class=cF0>);
<a name="l649"></a>
<a name="l650"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l651"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;</span><span class=cFB>sys_macro_task</span><span class=cF0>);
<a name="l652"></a>
<a name="l653"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l654"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task,</span><span class=cF6>&quot;\n&quot;</span><span class=cF0>);
<a name="l655"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l656"></a>}
<a name="l657"></a>
<a name="l658"></a></span><span class=cF1>U0</span><span class=cF0> DoLightTable()
<a name="l659"></a>{
<a name="l660"></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="l661"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task);
<a name="l662"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'2'</span><span class=cF0>,0);
<a name="l663"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>, 100 ,200);
<a name="l664"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>, 640-100 ,200);
<a name="l665"></a>
<a name="l666"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'3'</span><span class=cF0>,0);
<a name="l667"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,100 ,200);
<a name="l668"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,100 ,200);
<a name="l669"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,100 ,200);
<a name="l670"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,120 ,180);
<a name="l671"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,160 ,120);
<a name="l672"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,320 ,10);
<a name="l673"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,640-160 ,120);
<a name="l674"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,640-120 ,180);
<a name="l675"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,640-100 ,200);
<a name="l676"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,640-100 ,200);
<a name="l677"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,640-100 ,200);
<a name="l678"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,0,0);
<a name="l679"></a>
<a name="l680"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'4'</span><span class=cF0>,0);
<a name="l681"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,320,190);
<a name="l682"></a>
<a name="l683"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'5'</span><span class=cF0>,0);
<a name="l684"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,460,280);
<a name="l685"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0> ,500,220);
<a name="l686"></a>
<a name="l687"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l688"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l689"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l690"></a>}
<a name="l691"></a>
<a name="l692"></a></span><span class=cF1>U0</span><span class=cF0> DoPredatorPrey()
<a name="l693"></a>{
<a name="l694"></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="l695"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l696"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l697"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l698"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l699"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l700"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l701"></a>}
<a name="l702"></a>
<a name="l703"></a></span><span class=cF1>U0</span><span class=cF0> DoCharDemo()
<a name="l704"></a>{
<a name="l705"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l706"></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="l707"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l708"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l709"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l710"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l711"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l712"></a>}
<a name="l713"></a>
<a name="l714"></a></span><span class=cF1>U0</span><span class=cF0> DoLattice()
<a name="l715"></a>{
<a name="l716"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l717"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l718"></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="l719"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;20;i++)
<a name="l720"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l721"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;6;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l722"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'+'</span><span class=cF0>,0);
<a name="l723"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l724"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l725"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;6;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l726"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l727"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l728"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l729"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;16;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l730"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l731"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l732"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l733"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l734"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l735"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l736"></a>}
<a name="l737"></a>
<a name="l738"></a></span><span class=cF1>U0</span><span class=cF0> DoCartesian()
<a name="l739"></a>{
<a name="l740"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l741"></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="l742"></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="l743"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l744"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l745"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l746"></a>}
<a name="l747"></a>
<a name="l748"></a></span><span class=cF1>U0</span><span class=cF0> DoMPAdd()
<a name="l749"></a>{
<a name="l750"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l751"></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="l752"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l753"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l754"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l755"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l756"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l757"></a>}
<a name="l758"></a>
<a name="l759"></a></span><span class=cF1>U0</span><span class=cF0> DoFlapBat()
<a name="l760"></a>{
<a name="l761"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l762"></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="l763"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l764"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l765"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l766"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l767"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;4;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l768"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l769"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l770"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l771"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l772"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l773"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l774"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l775"></a>}
<a name="l776"></a>
<a name="l777"></a></span><span class=cF1>U0</span><span class=cF0> DoBattleLines()
<a name="l778"></a>{
<a name="l779"></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="l780"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l781"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l782"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l783"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l784"></a> </span><span class=cF5>MsSet</span><span class=cF0>(430,300,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l785"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(10,530,400);
<a name="l786"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l787"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l788"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l789"></a>}
<a name="l790"></a>
<a name="l791"></a></span><span class=cF1>U0</span><span class=cF0> DoBigGuns()
<a name="l792"></a>{
<a name="l793"></a> </span><span class=cF9>I64</span><span class=cF0> i,task_num;
<a name="l794"></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="l795"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l796"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l797"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l798"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l799"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l800"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l801"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;5;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l802"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l803"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l804"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l805"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l806"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l807"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l808"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l809"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l810"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l811"></a>}
<a name="l812"></a>
<a name="l813"></a></span><span class=cF1>U0</span><span class=cF0> DoDunGen()
<a name="l814"></a>{
<a name="l815"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l816"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l817"></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="l818"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l819"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l820"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l821"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l822"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;12;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l823"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l824"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l825"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l826"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;6;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l827"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l828"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l829"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l830"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l831"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l832"></a>}
<a name="l833"></a>
<a name="l834"></a></span><span class=cF1>U0</span><span class=cF0> DoTitanium()
<a name="l835"></a>{
<a name="l836"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l837"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l838"></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="l839"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l840"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l841"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;3;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l842"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l843"></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="l844"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l845"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l846"></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="l847"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l848"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l849"></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="l850"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l851"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l852"></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="l853"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l854"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l855"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l856"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l857"></a>}
<a name="l858"></a>
<a name="l859"></a></span><span class=cF1>U0</span><span class=cF0> DoToTheFront()
<a name="l860"></a>{
<a name="l861"></a> </span><span class=cF9>I64</span><span class=cF0> task_num;
<a name="l862"></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="l863"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l864"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'\n'</span><span class=cF0>,0);
<a name="l865"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l866"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l867"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l868"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l869"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l870"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l871"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l872"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l873"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l874"></a> </span><span class=cF5>Sleep</span><span class=cF0>(5000);
<a name="l875"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l876"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l877"></a>}
<a name="l878"></a>
<a name="l879"></a></span><span class=cF1>U0</span><span class=cF0> DoPsalmody()
<a name="l880"></a>{
<a name="l881"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l882"></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="l883"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'z'</span><span class=cF0>,0);
<a name="l884"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF6>'h'</span><span class=cF0>,0);
<a name="l885"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l886"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF6>'h'</span><span class=cF0>,0);
<a name="l887"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF6>'g'</span><span class=cF0>,0);
<a name="l888"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l889"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF6>'g'</span><span class=cF0>,0);
<a name="l890"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF6>'h'</span><span class=cF0>,0);
<a name="l891"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l892"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF6>'h'</span><span class=cF0>,0);
<a name="l893"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,</span><span class=cF6>'j'</span><span class=cF0>,0);
<a name="l894"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l895"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,</span><span class=cF6>'j'</span><span class=cF0>,0);
<a name="l896"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>+</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
<a name="l897"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'x'</span><span class=cF0>,0);
<a name="l898"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1250);
<a name="l899"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l900"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l901"></a>}
<a name="l902"></a>
<a name="l903"></a></span><span class=cF1>U0</span><span class=cF0> DoJukeBox()
<a name="l904"></a>{
<a name="l905"></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;;&quot;</span><span class=cF0>
<a name="l906"></a> </span><span class=cF6>&quot;JukeBox(\&quot;::/Apps/Psalmody/Examples\&quot;);\n&quot;</span><span class=cF0>);
<a name="l907"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l908"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l909"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l910"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l911"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l912"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<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> DoSpan()
<a name="l917"></a>{
<a name="l918"></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="l919"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l920"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l921"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l922"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l923"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l924"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l925"></a>}
<a name="l926"></a>
<a name="l927"></a></span><span class=cF1>U0</span><span class=cF0> DoStrut()
<a name="l928"></a>{
<a name="l929"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l930"></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="l931"></a>
<a name="l932"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l933"></a>
<a name="l934"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l935"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l936"></a> </span><span class=cF5>Refresh</span><span class=cF0>(2);
<a name="l937"></a>
<a name="l938"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l939"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l940"></a>
<a name="l941"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,400,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l942"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l943"></a>
<a name="l944"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'s'</span><span class=cF0>,0);
<a name="l945"></a>
<a name="l946"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l947"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l948"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l949"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l950"></a>
<a name="l951"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l952"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l953"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,400,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l954"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l955"></a>
<a name="l956"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l957"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l958"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,400,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l959"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l960"></a>
<a name="l961"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,</span><span class=cF3>GR_HEIGHT</span><span class=cF0>/2,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l962"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l963"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l964"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l965"></a>
<a name="l966"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,</span><span class=cF3>GR_HEIGHT</span><span class=cF0>/2,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l967"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l968"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,400,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l969"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l970"></a>
<a name="l971"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,</span><span class=cF3>GR_HEIGHT</span><span class=cF0>/2,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l972"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l973"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l974"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l975"></a>
<a name="l976"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'t'</span><span class=cF0>,0);
<a name="l977"></a>
<a name="l978"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,400,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l979"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l980"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l981"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l982"></a>
<a name="l983"></a> </span><span class=cF5>MsSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>/2,400,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l984"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN</span><span class=cF0>,0,0);
<a name="l985"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l986"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_UP</span><span class=cF0>,0,0);
<a name="l987"></a>
<a name="l988"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l989"></a>
<a name="l990"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l991"></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="l992"></a> </span><span class=cF5>Sleep</span><span class=cF0>(600);
<a name="l993"></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="l994"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'Z'</span><span class=cF0>,0);
<a name="l995"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l996"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'Z'</span><span class=cF0>,0);
<a name="l997"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l998"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'Z'</span><span class=cF0>,0);
<a name="l999"></a> </span><span class=cF5>Sleep</span><span class=cF0>(200);
<a name="l1000"></a>
<a name="l1001"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1002"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1003"></a>}
<a name="l1004"></a>
<a name="l1005"></a></span><span class=cF1>U0</span><span class=cF0> DoRawHide()
<a name="l1006"></a>{
<a name="l1007"></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="l1008"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1009"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1010"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1011"></a> </span><span class=cF5>Sleep</span><span class=cF0>(2500);
<a name="l1012"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1013"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1014"></a>}
<a name="l1015"></a>
<a name="l1016"></a></span><span class=cF1>U0</span><span class=cF0> DoPoleZeros()
<a name="l1017"></a>{
<a name="l1018"></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="l1019"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1020"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1021"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1022"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1023"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l1024"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1025"></a>}
<a name="l1026"></a>
<a name="l1027"></a></span><span class=cF1>U0</span><span class=cF0> DoWhap()
<a name="l1028"></a>{
<a name="l1029"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1030"></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="l1031"></a> </span><span class=cF5>MsSet</span><span class=cF0>(300,200);
<a name="l1032"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1033"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(3,350,300);
<a name="l1034"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1035"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(3,450,200);
<a name="l1036"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1037"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1038"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1039"></a>}
<a name="l1040"></a>
<a name="l1041"></a></span><span class=cF1>U0</span><span class=cF0> DoGrid()
<a name="l1042"></a>{
<a name="l1043"></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="l1044"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200);
<a name="l1045"></a> </span><span class=cF5>Sleep</span><span class=cF0>(150);
<a name="l1046"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(2,400,400);
<a name="l1047"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(2,200,400);
<a name="l1048"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(2,200,200);
<a name="l1049"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1050"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1051"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1052"></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="l1053"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1054"></a>}
<a name="l1055"></a>
<a name="l1056"></a></span><span class=cF1>U0</span><span class=cF0> DoPick()
<a name="l1057"></a>{
<a name="l1058"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1059"></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="l1060"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200);
<a name="l1061"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1062"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1063"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(4,400,400);
<a name="l1064"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1065"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1066"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1067"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1068"></a>}
<a name="l1069"></a>
<a name="l1070"></a></span><span class=cF1>U0</span><span class=cF0> DoPick3D()
<a name="l1071"></a>{
<a name="l1072"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1073"></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="l1074"></a> </span><span class=cF5>MsSet</span><span class=cF0>(200,200);
<a name="l1075"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1076"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1077"></a> </span><span class=cF5>InSetMs</span><span class=cF0>(4,400,400);
<a name="l1078"></a> </span><span class=cF5>MsSet</span><span class=cF0>(,,,</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l1079"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1080"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1081"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1082"></a>}
<a name="l1083"></a>
<a name="l1084"></a></span><span class=cF1>U0</span><span class=cF0> DoGrModels()
<a name="l1085"></a>{
<a name="l1086"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1087"></a> </span><span class=cF9>I64</span><span class=cF0> i,j,task_num=-1;
<a name="l1088"></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="l1089"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1090"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l1091"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;4;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1092"></a> task_num=</span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task,task_num);
<a name="l1093"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1094"></a> </span><span class=cF1>for</span><span class=cF0> (j=0;j&lt;=i;j++)
<a name="l1095"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1096"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1097"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1098"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l1099"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'n'</span><span class=cF0>,0);
<a name="l1100"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1101"></a>}
<a name="l1102"></a>
<a name="l1103"></a></span><span class=cF1>U0</span><span class=cF0> DoKeepAway()
<a name="l1104"></a>{
<a name="l1105"></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="l1106"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1107"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1108"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1109"></a> </span><span class=cF5>MsSet</span><span class=cF0>(100,100);
<a name="l1110"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l1111"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN_UP</span><span class=cF0>,</span><span class=cFB>ms</span><span class=cF0>.pos.x,</span><span class=cFB>ms</span><span class=cF0>.pos.y);
<a name="l1112"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l1113"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1114"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1115"></a>}
<a name="l1116"></a>
<a name="l1117"></a></span><span class=cF1>U0</span><span class=cF0> DoRocket()
<a name="l1118"></a>{
<a name="l1119"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1120"></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="l1121"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1122"></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="l1123"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l1124"></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="l1125"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1126"></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="l1127"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l1128"></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="l1129"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1000);
<a name="l1130"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1131"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1132"></a>}
<a name="l1133"></a>
<a name="l1134"></a></span><span class=cF1>U0</span><span class=cF0> DoRocketScience()
<a name="l1135"></a>{
<a name="l1136"></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="l1137"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1138"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1139"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1140"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1141"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1142"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1143"></a> </span><span class=cF5>Sleep</span><span class=cF0>(2000);
<a name="l1144"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1145"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1146"></a>}
<a name="l1147"></a>
<a name="l1148"></a></span><span class=cF1>U0</span><span class=cF0> DoMassSpring()
<a name="l1149"></a>{
<a name="l1150"></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="l1151"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1152"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1153"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1154"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1155"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,50,50); </span><span class=cF2>//#1</span><span class=cF0>
<a name="l1156"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,50,200); </span><span class=cF2>//#2</span><span class=cF0>
<a name="l1157"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,210,50); </span><span class=cF2>//#3</span><span class=cF0>
<a name="l1158"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_L_DOWN_UP</span><span class=cF0>,310,200);</span><span class=cF2>//#4</span><span class=cF0>
<a name="l1159"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1160"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN</span><span class=cF0>,50,50); </span><span class=cF2>//1-2</span><span class=cF0>
<a name="l1161"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_UP</span><span class=cF0>,50,200);
<a name="l1162"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1163"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN</span><span class=cF0>,210,50);</span><span class=cF2>//3-4</span><span class=cF0>
<a name="l1164"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_UP</span><span class=cF0>,310,200);
<a name="l1165"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1166"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN</span><span class=cF0>,50,200);</span><span class=cF2>//2-4</span><span class=cF0>
<a name="l1167"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_UP</span><span class=cF0>,310,200);
<a name="l1168"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1169"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_DOWN</span><span class=cF0>,50,50); </span><span class=cF2>//1-3</span><span class=cF0>
<a name="l1170"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_MS_R_UP</span><span class=cF0>,210,50);
<a name="l1171"></a> </span><span class=cF5>Sleep</span><span class=cF0>(1500);
<a name="l1172"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1173"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1174"></a>}
<a name="l1175"></a>
<a name="l1176"></a></span><span class=cF1>U0</span><span class=cF0> DoSquirt()
<a name="l1177"></a>{
<a name="l1178"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1179"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1180"></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="l1181"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;5;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1182"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1183"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l1184"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1185"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;5;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1186"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l1187"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l1188"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1189"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;5;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1190"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1191"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l1192"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1193"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;5;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1194"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1195"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l1196"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1197"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1198"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1199"></a>}
<a name="l1200"></a>
<a name="l1201"></a></span><span class=cF1>U0</span><span class=cF0> DoXCaliber()
<a name="l1202"></a>{
<a name="l1203"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1204"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1205"></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="l1206"></a>
<a name="l1207"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l1208"></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>) </span><span class=cF7>{</span><span class=cF0>
<a name="l1209"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SCF_CTRL</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1210"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1211"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1212"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1213"></a>
<a name="l1214"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;5;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1215"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SCF_SHIFT</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1216"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SCF_SHIFT</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1217"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1218"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1219"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1220"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>,0);
<a name="l1221"></a> </span><span class=cF5>Sleep</span><span class=cF0>(100);
<a name="l1222"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>,0);
<a name="l1223"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1224"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1225"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1226"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1227"></a>}
<a name="l1228"></a>
<a name="l1229"></a></span><span class=cF1>U0</span><span class=cF0> DoFPS()
<a name="l1230"></a>{
<a name="l1231"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1232"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1233"></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="l1234"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;15;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1235"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1236"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1237"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1238"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;8;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1239"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1240"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1241"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1242"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;9;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1243"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1244"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1245"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1246"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;6;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1247"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1248"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1249"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1250"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1251"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1252"></a>}
<a name="l1253"></a>
<a name="l1254"></a></span><span class=cF1>U0</span><span class=cF0> DoTalons()
<a name="l1255"></a>{
<a name="l1256"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1257"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1258"></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="l1259"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1260"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1261"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
<a name="l1262"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1263"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1264"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;10;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1265"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1266"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1267"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1268"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1269"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1270"></a>}
<a name="l1271"></a>
<a name="l1272"></a></span><span class=cF1>U0</span><span class=cF0> DoPhoneNumWords()
<a name="l1273"></a>{
<a name="l1274"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1275"></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="l1276"></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="l1277"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1278"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1279"></a>}
<a name="l1280"></a>
<a name="l1281"></a></span><span class=cF1>U0</span><span class=cF0> DoSuggestedSpelling()
<a name="l1282"></a>{
<a name="l1283"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1284"></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="l1285"></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="l1286"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1287"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1288"></a>}
<a name="l1289"></a>
<a name="l1290"></a></span><span class=cF1>U0</span><span class=cF0> DoFPrintF()
<a name="l1291"></a>{
<a name="l1292"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1293"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;#include \&quot;::/Demo/Dsk/FPrintF\&quot;;\n&quot;</span><span class=cF0>);
<a name="l1294"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;~/DemoFPrintF.DD.Z&quot;</span><span class=cF0>);
<a name="l1295"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l1296"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;Type(\&quot;~/DemoFPrintF.DD.Z\&quot;);\n&quot;</span><span class=cF0>);
<a name="l1297"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_CTRLO</span><span class=cF0>,0);
<a name="l1298"></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="l1299"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1300"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1301"></a>}
<a name="l1302"></a>
<a name="l1303"></a></span><span class=cF1>U0</span><span class=cF0> DoLastClass()
<a name="l1304"></a>{
<a name="l1305"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1306"></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="l1307"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1308"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1309"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1310"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1311"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1312"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1313"></a>}
<a name="l1314"></a>
<a name="l1315"></a></span><span class=cF1>U0</span><span class=cF0> DoMiniCompiler()
<a name="l1316"></a>{
<a name="l1317"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1318"></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="l1319"></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="l1320"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1321"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1322"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1323"></a>}
<a name="l1324"></a>
<a name="l1325"></a></span><span class=cF1>U0</span><span class=cF0> DoWebLog()
<a name="l1326"></a>{
<a name="l1327"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1328"></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="l1329"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'\n'</span><span class=cF0>,0);
<a name="l1330"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF6>'\n'</span><span class=cF0>,0);
<a name="l1331"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l1332"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1333"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1334"></a>}
<a name="l1335"></a>
<a name="l1336"></a></span><span class=cF1>U0</span><span class=cF0> DoRevFile()
<a name="l1337"></a>{
<a name="l1338"></a> </span><span class=cF9>CTask</span><span class=cF0> *task;
<a name="l1339"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>&quot;~/DemoPoemFwd.DD*&quot;</span><span class=cF0>);
<a name="l1340"></a> task=</span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>&quot;#include \&quot;::/Demo/RevFileDemo/Rev\&quot;;&quot;</span><span class=cF0>
<a name="l1341"></a> </span><span class=cF6>&quot;Type(\&quot;~/DemoPoemFwd.DD.Z\&quot;);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1342"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1343"></a>}
<a name="l1344"></a>
<a name="l1345"></a></span><span class=cF1>U0</span><span class=cF0> DoSortFile()
<a name="l1346"></a>{
<a name="l1347"></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="l1348"></a> </span><span class=cF6>&quot;#include \&quot;::/Demo/SortFileDemo/F64FileSort\&quot;;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1349"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1350"></a>}
<a name="l1351"></a>
<a name="l1352"></a></span><span class=cF1>U0</span><span class=cF0> DoToHtmlToTXT()
<a name="l1353"></a>{
<a name="l1354"></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="l1355"></a> </span><span class=cF6>&quot;#include \&quot;::/Demo/ToHtmlToTXTDemo/TXTGen\&quot;;&quot;</span><span class=cF0>
<a name="l1356"></a> </span><span class=cF6>&quot;Type(\&quot;~/DemoOutPage.TXT\&quot;);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1357"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1358"></a>}
<a name="l1359"></a>
<a name="l1360"></a></span><span class=cF1>U0</span><span class=cF0> DoLogic()
<a name="l1361"></a>{
<a name="l1362"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1363"></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="l1364"></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="l1365"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1366"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1367"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1368"></a>}
<a name="l1369"></a>
<a name="l1370"></a></span><span class=cF1>U0</span><span class=cF0> DoPrompt()
<a name="l1371"></a>{
<a name="l1372"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1373"></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="l1374"></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="l1375"></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="l1376"></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="l1377"></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="l1378"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1379"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1380"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1381"></a>}
<a name="l1382"></a>
<a name="l1383"></a></span><span class=cF1>U0</span><span class=cF0> DoNumBible()
<a name="l1384"></a>{
<a name="l1385"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1386"></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="l1387"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>&quot;~/DemoNumBible.DD*&quot;</span><span class=cF0>);
<a name="l1388"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1389"></a>}
<a name="l1390"></a>
<a name="l1391"></a></span><span class=cF1>U0</span><span class=cF0> DoForm()
<a name="l1392"></a>{
<a name="l1393"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1394"></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="l1395"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l1396"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task,</span><span class=cF6>&quot;54321&quot;</span><span class=cF0>);
<a name="l1397"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l1398"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1399"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l1400"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SCF_CTRL</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
<a name="l1401"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task,</span><span class=cF6>&quot;77777&quot;</span><span class=cF0>);
<a name="l1402"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l1403"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1404"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1405"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1406"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
<a name="l1407"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l1408"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task,</span><span class=cF6>&quot;MyName&quot;</span><span class=cF0>);
<a name="l1409"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1410"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l1411"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1412"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1413"></a>}
<a name="l1414"></a>
<a name="l1415"></a></span><span class=cF1>U0</span><span class=cF0> DoClickCallBack()
<a name="l1416"></a>{
<a name="l1417"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l1418"></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="l1419"></a> </span><span class=cF1>for</span><span class=cF0> (i=0;i&lt;3;i++) </span><span class=cF7>{</span><span class=cF0>
<a name="l1420"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1421"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1422"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1423"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250);
<a name="l1424"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1425"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1426"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1427"></a>}
<a name="l1428"></a>
<a name="l1429"></a></span><span class=cF1>U0</span><span class=cF0> DoMenuBttn()
<a name="l1430"></a>{
<a name="l1431"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1432"></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="l1433"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1434"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1435"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>,0);
<a name="l1436"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1437"></a> </span><span class=cF5>PostMsg</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1438"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1439"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task-&gt;popup_task);
<a name="l1440"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1441"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(</span><span class=cFB>sys_focus_task</span><span class=cF0>,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
<a name="l1442"></a> </span><span class=cF5>Sleep</span><span class=cF0>(500);
<a name="l1443"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task-&gt;popup_task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1444"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task-&gt;popup_task);
<a name="l1445"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1446"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1447"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1448"></a>}
<a name="l1449"></a>
<a name="l1450"></a></span><span class=cF1>U0</span><span class=cF0> DoMenuSprite()
<a name="l1451"></a>{
<a name="l1452"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1453"></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="l1454"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>,0);
<a name="l1455"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1456"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1457"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l1458"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>,0);
<a name="l1459"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1460"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,0,</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>,0);
<a name="l1461"></a> </span><span class=cF5>Sleep</span><span class=cF0>(50);
<a name="l1462"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1463"></a> </span><span class=cF5>Sleep</span><span class=cF0>(300);
<a name="l1464"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<a name="l1465"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1466"></a>}
<a name="l1467"></a>
<a name="l1468"></a></span><span class=cF1>U0</span><span class=cF0> DoExceptions()
<a name="l1469"></a>{
<a name="l1470"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1471"></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="l1472"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;yy&quot;</span><span class=cF0>);
<a name="l1473"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1474"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1475"></a>}
<a name="l1476"></a>
<a name="l1477"></a></span><span class=cF1>U0</span><span class=cF0> DoDemoDoc()
<a name="l1478"></a>{
<a name="l1479"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1480"></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="l1481"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_CTRLG</span><span class=cF0>,0);
<a name="l1482"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;100&quot;</span><span class=cF0>);
<a name="l1483"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_ESC</span><span class=cF0>,0);
<a name="l1484"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1485"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>,0);
<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> DoFileRead()
<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> </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="l1493"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1494"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1495"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1496"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1497"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1498"></a>}
<a name="l1499"></a>
<a name="l1500"></a></span><span class=cF1>U0</span><span class=cF0> DoDefine()
<a name="l1501"></a>{
<a name="l1502"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1503"></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="l1504"></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="l1505"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1506"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1507"></a>}
<a name="l1508"></a>
<a name="l1509"></a></span><span class=cF1>U0</span><span class=cF0> DoAsmAndC1()
<a name="l1510"></a>{
<a name="l1511"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1512"></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="l1513"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1514"></a>}
<a name="l1515"></a>
<a name="l1516"></a></span><span class=cF1>U0</span><span class=cF0> DoAsmAndC2()
<a name="l1517"></a>{
<a name="l1518"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1519"></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="l1520"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1521"></a>}
<a name="l1522"></a>
<a name="l1523"></a></span><span class=cF1>U0</span><span class=cF0> OSTestSuite()
<a name="l1524"></a>{
<a name="l1525"></a> </span><span class=cF9>CTask</span><span class=cF0> *task;
<a name="l1526"></a> ts_t0=</span><span class=cF5>tS</span><span class=cF0>;
<a name="l1527"></a> ts_i=0;
<a name="l1528"></a>
<a name="l1529"></a> TS(</span><span class=cF6>&quot;BlackDiamond&quot;</span><span class=cF0>); DoBlackDiamond;
<a name="l1530"></a> TS(</span><span class=cF6>&quot;Talons&quot;</span><span class=cF0>); DoTalons;
<a name="l1531"></a> TS(</span><span class=cF6>&quot;FlatTops&quot;</span><span class=cF0>); DoFlatTops;
<a name="l1532"></a> TS(</span><span class=cF6>&quot;DunGen&quot;</span><span class=cF0>); DoDunGen;
<a name="l1533"></a> TS(</span><span class=cF6>&quot;FPS&quot;</span><span class=cF0>); DoFPS;
<a name="l1534"></a> TS(</span><span class=cF6>&quot;ZoneOut&quot;</span><span class=cF0>); DoZoneOut;
<a name="l1535"></a> TS(</span><span class=cF6>&quot;Varoom&quot;</span><span class=cF0>); DoVaroom;
<a name="l1536"></a> TS(</span><span class=cF6>&quot;Rocket&quot;</span><span class=cF0>); DoRocket;
<a name="l1537"></a> TS(</span><span class=cF6>&quot;RocketScience&quot;</span><span class=cF0>); DoRocketScience;
<a name="l1538"></a> TS(</span><span class=cF6>&quot;BattleLines&quot;</span><span class=cF0>); DoBattleLines;
<a name="l1539"></a> TS(</span><span class=cF6>&quot;BigGuns&quot;</span><span class=cF0>); DoBigGuns;
<a name="l1540"></a> TS(</span><span class=cF6>&quot;FlapBat&quot;</span><span class=cF0>); DoFlapBat;
<a name="l1541"></a> TS(</span><span class=cF6>&quot;Titanium&quot;</span><span class=cF0>); DoTitanium;
<a name="l1542"></a> TS(</span><span class=cF6>&quot;ToTheFront&quot;</span><span class=cF0>); DoToTheFront;
<a name="l1543"></a> TS(</span><span class=cF6>&quot;Psalmody&quot;</span><span class=cF0>); DoPsalmody;
<a name="l1544"></a> TS(</span><span class=cF6>&quot;JukeBox&quot;</span><span class=cF0>); DoJukeBox;
<a name="l1545"></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="l1546"></a> TS(</span><span class=cF6>&quot;Strut&quot;</span><span class=cF0>); DoStrut;
<a name="l1547"></a> TS(</span><span class=cF6>&quot;RawHide&quot;</span><span class=cF0>); DoRawHide;
<a name="l1548"></a> TS(</span><span class=cF6>&quot;KeepAway&quot;</span><span class=cF0>); DoKeepAway;
<a name="l1549"></a> TS(</span><span class=cF6>&quot;XCaliber&quot;</span><span class=cF0>); DoXCaliber;
<a name="l1550"></a> TS(</span><span class=cF6>&quot;Wenceslas&quot;</span><span class=cF0>); DoWenceslas;
<a name="l1551"></a> TS(</span><span class=cF6>&quot;BomberGolf&quot;</span><span class=cF0>); DoBomberGolf;
<a name="l1552"></a> TS(</span><span class=cF6>&quot;TheDead&quot;</span><span class=cF0>); DoTheDead;
<a name="l1553"></a> TS(</span><span class=cF6>&quot;TreeCheckers&quot;</span><span class=cF0>); DoTreeCheckers;
<a name="l1554"></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="l1555"></a> TS(</span><span class=cF6>&quot;MPAdd&quot;</span><span class=cF0>); DoMPAdd;
<a name="l1556"></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="l1557"></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>)
<a name="l1558"></a> TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Palindrome&quot;</span><span class=cF0>);
<a name="l1559"></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_cnt</span><span class=cF0>&gt;1) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/MPRadix&quot;</span><span class=cF0>);
<a name="l1560"></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_cnt</span><span class=cF0>&gt;1 &amp;&amp; </span><span class=cF5>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>)
<a name="l1561"></a> TSFileChar(</span><span class=cF6>&quot;::/Demo/MultiCore/LoadTest&quot;</span><span class=cF0>);
<a name="l1562"></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_cnt</span><span class=cF0>&gt;1) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/MPPrint&quot;</span><span class=cF0>);
<a name="l1563"></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_cnt</span><span class=cF0>&gt;1) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Lock&quot;</span><span class=cF0>);
<a name="l1564"></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_cnt</span><span class=cF0>&gt;1) TSFile(</span><span class=cF6>&quot;::/Demo/MultiCore/Interrupts&quot;</span><span class=cF0>);
<a name="l1565"></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="l1566"></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="l1567"></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="l1568"></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="l1569"></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="l1570"></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="l1571"></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="l1572"></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="l1573"></a> TS(</span><span class=cF6>&quot;Balloon&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Graphics/Balloon&quot;</span><span class=cF0>,0);
<a name="l1574"></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="l1575"></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="l1576"></a> TS(</span><span class=cF6>&quot;RandDemo&quot;</span><span class=cF0>); DoRandDemo;
<a name="l1577"></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="l1578"></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="l1579"></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="l1580"></a> TS(</span><span class=cF6>&quot;LowPassFilter&quot;</span><span class=cF0>); DoLowPassFilter;
<a name="l1581"></a> TS(</span><span class=cF6>&quot;MathAudioDemo&quot;</span><span class=cF0>); DoMathAudioDemo;
<a name="l1582"></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="l1583"></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="l1584"></a> TS(</span><span class=cF6>&quot;MsgLoop&quot;</span><span class=cF0>); DoMsgLoop;
<a name="l1585"></a> TS(</span><span class=cF6>&quot;ASCIIOrgan&quot;</span><span class=cF0>); DoASCIIOrgan;
<a name="l1586"></a> TS(</span><span class=cF6>&quot;MorseCode&quot;</span><span class=cF0>); DoMorseCode;
<a name="l1587"></a> TS(</span><span class=cF6>&quot;PixCollision&quot;</span><span class=cF0>); DoPixCollision;
<a name="l1588"></a> TS(</span><span class=cF6>&quot;Doodle&quot;</span><span class=cF0>); DoDoodle;
<a name="l1589"></a> TS(</span><span class=cF6>&quot;MassSpring&quot;</span><span class=cF0>); DoMassSpring;
<a name="l1590"></a> TS(</span><span class=cF6>&quot;SpeedLine&quot;</span><span class=cF0>); DoSpeedLine;
<a name="l1591"></a> TS(</span><span class=cF6>&quot;KeyBitMap&quot;</span><span class=cF0>); DoKeyBitMap;
<a name="l1592"></a> TS(</span><span class=cF6>&quot;BSpline&quot;</span><span class=cF0>); DoBSpline;
<a name="l1593"></a> TS(</span><span class=cF6>&quot;GrModels&quot;</span><span class=cF0>); DoGrModels;
<a name="l1594"></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>,1800);
<a name="l1595"></a> TS(</span><span class=cF6>&quot;ScrnCapture&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoScrnCapture;
<a name="l1596"></a> TS(</span><span class=cF6>&quot;Grid&quot;</span><span class=cF0>); DoGrid;
<a name="l1597"></a> TS(</span><span class=cF6>&quot;Pick&quot;</span><span class=cF0>); DoPick;
<a name="l1598"></a> TS(</span><span class=cF6>&quot;Pick3D&quot;</span><span class=cF0>); DoPick3D;
<a name="l1599"></a> TS(</span><span class=cF6>&quot;Whap&quot;</span><span class=cF0>); DoWhap;
<a name="l1600"></a> TS(</span><span class=cF6>&quot;Palette&quot;</span><span class=cF0>); DoPalette;
<a name="l1601"></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="l1602"></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>,1500);
<a name="l1603"></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>,1500);
<a name="l1604"></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>,1500);
<a name="l1605"></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>,1500);
<a name="l1606"></a> TS(</span><span class=cF6>&quot;Symmetry&quot;</span><span class=cF0>); DoSymmetry;
<a name="l1607"></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>,1500);
<a name="l1608"></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="l1609"></a> TS(</span><span class=cF6>&quot;LightTable&quot;</span><span class=cF0>); DoLightTable;
<a name="l1610"></a> TS(</span><span class=cF6>&quot;PredatorPrey&quot;</span><span class=cF0>); DoPredatorPrey;
<a name="l1611"></a> TS(</span><span class=cF6>&quot;PoleZeros&quot;</span><span class=cF0>); DoPoleZeros;
<a name="l1612"></a> TS(</span><span class=cF6>&quot;Digits&quot;</span><span class=cF0>); DoDigits;
<a name="l1613"></a> TS(</span><span class=cF6>&quot;Stadium&quot;</span><span class=cF0>); DoStadium;
<a name="l1614"></a> TS(</span><span class=cF6>&quot;ElephantWalk&quot;</span><span class=cF0>); DoElephantWalk;
<a name="l1615"></a> TS(</span><span class=cF6>&quot;Halogen&quot;</span><span class=cF0>); DoHalogen;
<a name="l1616"></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="l1617"></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="l1618"></a> TS(</span><span class=cF6>&quot;Lattice&quot;</span><span class=cF0>); DoLattice;
<a name="l1619"></a> TS(</span><span class=cF6>&quot;CtrlR1&quot;</span><span class=cF0>); DoCtrlR1;
<a name="l1620"></a> TS(</span><span class=cF6>&quot;F2Macro&quot;</span><span class=cF0>); DoF2Macro;
<a name="l1621"></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="l1622"></a> TS(</span><span class=cF6>&quot;DemoDoc&quot;</span><span class=cF0>); DoDemoDoc;
<a name="l1623"></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="l1624"></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="l1625"></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="l1626"></a> TS(</span><span class=cF6>&quot;MiniCompiler&quot;</span><span class=cF0>); DoMiniCompiler;
<a name="l1627"></a> TS(</span><span class=cF6>&quot;MiniGrLib&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Lectures/MiniGrLib&quot;</span><span class=cF0>,0);
<a name="l1628"></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="l1629"></a> TS(</span><span class=cF6>&quot;PhoneNumWords&quot;</span><span class=cF0>); DoPhoneNumWords;
<a name="l1630"></a> TS(</span><span class=cF6>&quot;UnusedSpaceRep&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Dsk/UnusedSpaceRep&quot;</span><span class=cF0>);
<a name="l1631"></a> TS(</span><span class=cF6>&quot;BlkDevRep&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Dsk/BlkDevRep&quot;</span><span class=cF0>);
<a name="l1632"></a> TS(</span><span class=cF6>&quot;LastClass&quot;</span><span class=cF0>); DoLastClass;
<a name="l1633"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoFPrintF;
<a name="l1634"></a> TS(</span><span class=cF6>&quot;SerializeTree&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/Dsk/SerializeTree&quot;</span><span class=cF0>);
<a name="l1635"></a> TS(</span><span class=cF6>&quot;Exceptions&quot;</span><span class=cF0>); DoExceptions;
<a name="l1636"></a> TS(</span><span class=cF6>&quot;ScrnDCodes&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/ScrnCodes&quot;</span><span class=cF0>);
<a name="l1637"></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="l1638"></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>,0);
<a name="l1639"></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="l1640"></a> TS(</span><span class=cF6>&quot;CharDemo&quot;</span><span class=cF0>); DoCharDemo;
<a name="l1641"></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="l1642"></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="l1643"></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="l1644"></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="l1645"></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>,3000);
<a name="l1646"></a> TS(</span><span class=cF6>&quot;Squirt&quot;</span><span class=cF0>); DoSquirt;
<a name="l1647"></a> TS(</span><span class=cF6>&quot;CommonAncestor&quot;</span><span class=cF0>);
<a name="l1648"></a> TSFileChar(</span><span class=cF6>&quot;::/Demo/Graphics/CommonAncestor&quot;</span><span class=cF0>,1500,</span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
<a name="l1649"></a> TS(</span><span class=cF6>&quot;Cartesian&quot;</span><span class=cF0>); DoCartesian;
<a name="l1650"></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="l1651"></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>,1500);
<a name="l1652"></a> TS(</span><span class=cF6>&quot;Logic&quot;</span><span class=cF0>); DoLogic;
<a name="l1653"></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="l1654"></a> TS(</span><span class=cF6>&quot;Prompt&quot;</span><span class=cF0>); DoPrompt;
<a name="l1655"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoWebLog;
<a name="l1656"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoRevFile;
<a name="l1657"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoSortFile;
<a name="l1658"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoToHtmlToTXT;
<a name="l1659"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>)
<a name="l1660"></a> TSFile(</span><span class=cF6>&quot;::/Demo/RegistryDemo&quot;</span><span class=cF0>);
<a name="l1661"></a> TS(</span><span class=cF6>&quot;Define&quot;</span><span class=cF0>); DoDefine;
<a name="l1662"></a> TS(</span><span class=cF6>&quot;GlblVars&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/GlblVars&quot;</span><span class=cF0>);
<a name="l1663"></a> TS(</span><span class=cF6>&quot;FileRead&quot;</span><span class=cF0>); DoFileRead;
<a name="l1664"></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="l1665"></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="l1666"></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="l1667"></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="l1668"></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="l1669"></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>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoNumBible;
<a name="l1670"></a> TS(</span><span class=cF6>&quot;Form&quot;</span><span class=cF0>); DoForm;
<a name="l1671"></a> TS(</span><span class=cF6>&quot;ClickCallBack&quot;</span><span class=cF0>); DoClickCallBack;
<a name="l1672"></a> TS(</span><span class=cF6>&quot;MenuBttn&quot;</span><span class=cF0>); DoMenuBttn;
<a name="l1673"></a> TS(</span><span class=cF6>&quot;MenuSprite&quot;</span><span class=cF0>);DoMenuSprite;
<a name="l1674"></a> TS(</span><span class=cF6>&quot;SuggestedSpelling&quot;</span><span class=cF0>); DoSuggestedSpelling;
<a name="l1675"></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="l1676"></a> TS(</span><span class=cF6>&quot;StkGrow&quot;</span><span class=cF0>); TSFile(</span><span class=cF6>&quot;::/Demo/StkGrow&quot;</span><span class=cF0>);
<a name="l1677"></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="l1678"></a> TS(</span><span class=cF6>&quot;WaterFowl&quot;</span><span class=cF0>); TSFileChar(</span><span class=cF6>&quot;::/Demo/Snd/WaterFowl&quot;</span><span class=cF0>);
<a name="l1679"></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="l1680"></a> TS(</span><span class=cF6>&quot;AsmAndC1&quot;</span><span class=cF0>); DoAsmAndC1;
<a name="l1681"></a> TS(</span><span class=cF6>&quot;AsmAndC2&quot;</span><span class=cF0>); DoAsmAndC2;
<a name="l1682"></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="l1683"></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="l1684"></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="l1685"></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="l1686"></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="l1687"></a>
<a name="l1688"></a> task=</span><span class=cF5>User</span><span class=cF0>;
<a name="l1689"></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="l1690"></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="l1691"></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="l1692"></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="l1693"></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="l1694"></a> TS(</span><span class=cF6>&quot;ZipRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;ZipRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1695"></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="l1696"></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="l1697"></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_cnt</span><span class=cF0>&gt;1)
<a name="l1698"></a> </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="l1699"></a> TS(</span><span class=cF6>&quot;DskChk&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>)
<a name="l1700"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;DskChk;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1701"></a> TS(</span><span class=cF6>&quot;DrvView&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l1702"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;DrvView;\n&quot;</span><span class=cF0>);
<a name="l1703"></a> </span><span class=cF5>Sleep</span><span class=cF0>(750);
<a name="l1704"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1705"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1706"></a> TS(</span><span class=cF6>&quot;DskView&quot;</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DrvIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l1707"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;DskView;\n&quot;</span><span class=cF0>);
<a name="l1708"></a> </span><span class=cF5>Sleep</span><span class=cF0>(250); </span><span class=cF2>//Short because ATARep takes time.</span><span class=cF0>
<a name="l1709"></a> </span><span class=cF5>PostMsgWait</span><span class=cF0>(task,</span><span class=cF3>MSG_KEY_DOWN_UP</span><span class=cF0>,</span><span class=cF3>CH_SPACE</span><span class=cF0>,0);
<a name="l1710"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l1711"></a> TS(</span><span class=cF6>&quot;ATARep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;ATARep;\npSleep(750);\n&quot;</span><span class=cF0>);
<a name="l1712"></a> TS(</span><span class=cF6>&quot;HashDepthRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task,
<a name="l1713"></a> </span><span class=cF6>&quot;HashDepthRep(adam_task-&gt;hash_table);Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1714"></a> TS(</span><span class=cF6>&quot;Who&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;Who;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1715"></a> TS(</span><span class=cF6>&quot;DrvRep&quot;</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task,</span><span class=cF6>&quot;DrvRep;Sleep(750);\n&quot;</span><span class=cF0>);
<a name="l1716"></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="l1717"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&amp;task,</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l1718"></a>
<a name="l1719"></a> </span><span class=cF5>ProgressBarsRst</span><span class=cF0>(</span><span class=cF6>&quot;TempleOS/OSTestSuite&quot;</span><span class=cF0>);
<a name="l1720"></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="l1721"></a>}
<a name="l1722"></a>
<a name="l1723"></a>OSTestSuite;
</span></pre></body>
</html>