2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html;charset=US-ASCII" >
2021-07-14 23:38:02 +01:00
< meta name = "generator" content = "ZealOS V0.08" >
2021-07-03 05:07:57 +01:00
< style type = "text/css" >
body {background-color:#000000;}
.cF0{color:#ffffff;background-color:#000000;}
.cF1{color:#3465a4;background-color:#000000;}
.cF2{color:#4e9a06;background-color:#000000;}
.cF3{color:#06989a;background-color:#000000;}
.cF4{color:#a24444;background-color:#000000;}
.cF5{color:#75507b;background-color:#000000;}
.cF6{color:#ce982f;background-color:#000000;}
.cF7{color:#bcc0b9;background-color:#000000;}
.cF8{color:#555753;background-color:#000000;}
.cF9{color:#729fcf;background-color:#000000;}
.cFA{color:#82bc49;background-color:#000000;}
.cFB{color:#34e2e2;background-color:#000000;}
.cFC{color:#ac3535;background-color:#000000;}
.cFD{color:#ad7fa8;background-color:#000000;}
.cFE{color:#fce94f;background-color:#000000;}
.cFF{color:#000000;background-color:#000000;}
< / style >
< / head >
< body >
2021-07-05 01:12:38 +01:00
< pre style = "font-family:monospace;font-size:12pt" >
2021-07-03 05:07:57 +01:00
< a name = "l1" > < / a > < span class = cF2 > //Puts the cursor at the bottom.< / span > < span class = cF0 >
< a name = "l2" > < / a > < / span > < span class = cF5 > Message< / span > < span class = cF0 > (< / span > < span class = cF3 > MESSAGE_KEY_DOWN< / span > < span class = cF0 > , < / span > < span class = cFE > 0< / span > < span class = cF0 > , < / span > < span class = cF3 > SC_CURSOR_DOWN< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > );
< a name = "l3" > < / a > < / span > < span class = cF6 > " \n" < / span > < span class = cF0 > ;
< a name = "l4" > < / a >
< a name = "l5" > < / a > TourPut(< / span > < span class = cF6 > " Press $GREEN$< F1> $FG$ for the main help index.\n" < / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l6" > < / a > < / span > < span class = cF6 > " \n" < / span > < span class = cF0 >
< a name = "l7" > < / a > < / span > < span class = cF6 > " The $GREEN$< F1> $FG$ key works both in " < / span > < span class = cF0 >
< a name = "l8" > < / a > < / span > < span class = cF6 > " the editor and at the command line.\n" < / span > < span class = cF0 >
< a name = "l9" > < / a > < / span > < span class = cF6 > " \n" < / span > < span class = cF0 >
2021-07-05 01:57:09 +01:00
< a name = "l10" > < / a > < / span > < span class = cF6 > " You can find the < / span > < a href = "https://tomawezome.github.io/ZealOS/Doc/DemoIndex.DD.html#l1" > < span class = cF4 > Demo Index< / span > < / a > < span class = cF6 > on the help index.\n" < / span > < span class = cF0 > );
2021-07-03 05:07:57 +01:00
< a name = "l11" > < / a > < / span > < span class = cF5 > InKeyGet< / span > < span class = cF0 > (< / span > < span class = cF3 > SC_F1< / span > < span class = cF0 > );
< a name = "l12" > < / a >
< a name = "l13" > < / a > TourPut(< / span > < span class = cF6 > " Press $GREEN$< SHIFT-ESC> $FG$ to abort and exit.\n" < / span > < span class = cF0 > );
< a name = "l14" > < / a > < / span > < span class = cF5 > InCharGet< / span > < span class = cF0 > (< / span > < span class = cF3 > CH_SHIFT_ESC< / span > < span class = cF0 > );
< a name = "l15" > < / a >
< a name = "l16" > < / a > < / span > < span class = cF1 > U0< / span > < span class = cF0 > RevealPopUpHelp(< / span > < span class = cF9 > I64< / span > < span class = cF0 > scf)
< a name = "l17" > < / a > {
2021-07-04 23:11:34 +01:00
< a name = "l18" > < / a > < / span > < span class = cF1 > F64< / span > < span class = cF0 > t0;
< a name = "l19" > < / a > < / span > < span class = cF1 > U8< / span > < span class = cF0 > *st, *st2;
< a name = "l20" > < / a > < / span > < span class = cF1 > Bool< / span > < span class = cF0 > old_key_desc;
2021-07-03 05:07:57 +01:00
< a name = "l21" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l22" > < / a > < / span > < span class = cF1 > do< / span > < span class = cF0 >
< a name = "l23" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l24" > < / a > < / span > < span class = cF5 > AutoComplete< / span > < span class = cF0 > (< / span > < span class = cF3 > ON< / span > < span class = cF0 > );
< a name = "l25" > < / a > st = < / span > < span class = cF5 > ScanCode2KeyName< / span > < span class = cF0 > (scf);
< a name = "l26" > < / a > st2 = < / span > < span class = cF5 > MStrUtil< / span > < span class = cF0 > (st, < / span > < span class = cF3 > SUF_REM_TRAILING< / span > < span class = cF0 > );
< a name = "l27" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (st);
< a name = "l28" > < / a > st = < / span > < span class = cF5 > MStrPrint< / span > < span class = cF0 > ( < / span > < span class = cF6 > " If you have $GREEN$AutoComplete$FG$ on, you " < / span > < span class = cF0 >
< a name = "l29" > < / a > < / span > < span class = cF6 > " can list the key commands. This works both " < / span > < span class = cF0 >
< a name = "l30" > < / a > < / span > < span class = cF6 > " in the editor and at the command line.\n" < / span > < span class = cF0 >
< a name = "l31" > < / a > < / span > < span class = cF6 > " \n" < / span > < span class = cF0 >
< a name = "l32" > < / a > < / span > < span class = cF6 > " You can click the links to jump to source code.\n" < / span > < span class = cF0 >
< a name = "l33" > < / a > < / span > < span class = cF6 > " \n" < / span > < span class = cF0 >
< a name = "l34" > < / a > < / span > < span class = cF6 > " Press and hold the $GREEN$< %s> $FG$ key.\n" < / span > < span class = cF0 >
< a name = "l35" > < / a > < / span > < span class = cF6 > " Hold it for more than 1.0 seconds.\n" < / span > < span class = cF0 > ,st2);
< a name = "l36" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (st2);
< a name = "l37" > < / a > TourPut(st);
< a name = "l38" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (st);
2021-07-03 05:07:57 +01:00
< a name = "l39" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l40" > < / a > old_key_desc = < / span > < span class = cF5 > LBtr< / span > < span class = cF0 > (& < / span > < span class = cF5 > Fs< / span > < span class = cF0 > -> win_inhibit, < / span > < span class = cF3 > WIf_SELF_KEY_DESC< / span > < span class = cF0 > );
< a name = "l41" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (< / span > < span class = cFB > kbd< / span > < span class = cF0 > .scan_code & < / span > < span class = cF7 > (< / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_ALT< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_SHIFT< / span > < span class = cF7 > )< / span > < span class = cF0 > != scf)
< a name = "l42" > < / a > < / span > < span class = cF5 > Sleep< / span > < span class = cF0 > (< / span > < span class = cFE > 1< / span > < span class = cF0 > );
2021-07-03 05:07:57 +01:00
< a name = "l43" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l44" > < / a > t0 = < / span > < span class = cF5 > tS< / span > < span class = cF0 > ;
< a name = "l45" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (< / span > < span class = cFB > kbd< / span > < span class = cF0 > .scan_code & < / span > < span class = cF7 > (< / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_ALT< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_SHIFT< / span > < span class = cF7 > )< / span > < span class = cF0 > == scf)
< a name = "l46" > < / a > {
< a name = "l47" > < / a > < / span > < span class = cF5 > KeyScan< / span > < span class = cF0 > (,, < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > );
< a name = "l48" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cFE > 1< / span > < span class = cF0 > .< / span > < span class = cFE > 0< / span > < span class = cF0 > < < / span > < span class = cF5 > tS< / span > < span class = cF0 > - t0 < < / span > < span class = cFE > 1< / span > < span class = cF0 > .< / span > < span class = cFE > 15< / span > < span class = cF0 > )
< a name = "l49" > < / a > < / span > < span class = cF5 > Sound< / span > < span class = cF0 > (< / span > < span class = cFE > 34< / span > < span class = cF0 > );
< a name = "l50" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l51" > < / a > < / span > < span class = cF5 > Sound< / span > < span class = cF0 > ;
< a name = "l52" > < / a > < / span > < span class = cF5 > Sleep< / span > < span class = cF0 > (< / span > < span class = cFE > 1< / span > < span class = cF0 > );
< a name = "l53" > < / a > }
< a name = "l54" > < / a > < / span > < span class = cF5 > LBEqual< / span > < span class = cF0 > (& < / span > < span class = cF5 > Fs< / span > < span class = cF0 > -> win_inhibit, < / span > < span class = cF3 > WIf_SELF_KEY_DESC< / span > < span class = cF0 > , old_key_desc);
< a name = "l55" > < / a > < / span > < span class = cF5 > Sound< / span > < span class = cF0 > ;
< a name = "l56" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l57" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (< / span > < span class = cF5 > tS< / span > < span class = cF0 > - t0 < < / span > < span class = cFE > 1< / span > < span class = cF0 > .< / span > < span class = cFE > 0< / span > < span class = cF0 > );
2021-07-03 05:07:57 +01:00
< a name = "l58" > < / a > }
< a name = "l59" > < / a >
< a name = "l60" > < / a > RevealPopUpHelp(< / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > );
< a name = "l61" > < / a > RevealPopUpHelp(< / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_SHIFT< / span > < span class = cF0 > );
< a name = "l62" > < / a > RevealPopUpHelp(< / span > < span class = cF3 > SCF_ALT< / span > < span class = cF0 > );
< a name = "l63" > < / a > RevealPopUpHelp(< / span > < span class = cF3 > SCF_ALT< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_SHIFT< / span > < span class = cF0 > );
< a name = "l64" > < / a > RevealPopUpHelp(< / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_ALT< / span > < span class = cF0 > );
< a name = "l65" > < / a > RevealPopUpHelp(< / span > < span class = cF3 > SCF_CTRL< / span > < span class = cF0 > | < / span > < span class = cF3 > SCF_ALT< / span > < span class = cF0 > |< / span > < span class = cF3 > SCF_SHIFT< / span > < span class = cF0 > );
< a name = "l66" > < / a >
< / span > < / pre > < / body >
< / html >