mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Add Boll to Print, update Print format Doc
This commit is contained in:
parent
777203d952
commit
23cb557183
2 changed files with 11 additions and 0 deletions
|
@ -52,6 +52,12 @@ $FG,2$"%Z"$FG$ $LK,"DefineListLoad",A="MN:DefineListLoad"$() subentry. Pass sub_
|
|||
$FG,2$"%Q"$FG$ convert "\" to "\\" and quote to backslash quote. (For use in creating strs in strs.)
|
||||
|
||||
$FG,2$"%q"$FG$ rev a $FG,2$"%Q"$FG$.
|
||||
|
||||
$FG,2$"%x"$FG$ Hex number.
|
||||
|
||||
$FG,2$"%b"$FG$ Binary number$FG$.
|
||||
|
||||
$FG,2$"%o"$FG$ Bool$FG$.
|
||||
$ID,-2$
|
||||
|
||||
$FG,5$$TX+CX,"Print Family"$$FG$
|
||||
|
|
|
@ -438,6 +438,11 @@ to avoid this.
|
|||
throw('StrPrint');
|
||||
ptr = argv[cur_arg++];
|
||||
break;
|
||||
case 'o': // Bool
|
||||
if (cur_arg >= argc)
|
||||
throw('StrPrint');
|
||||
if (argv[cur_arg++]) ptr = "TRUE"; else ptr = "FALSE";
|
||||
break;
|
||||
|
||||
case 'S':
|
||||
if (cur_arg >= argc)
|
||||
|
|
Loading…
Reference in a new issue