TempleOSTS_130315.ISO
This commit is contained in:
1 parent
e57428affb
commit
17b71f1a2d
958 files changed
+26043
-15907
No files matched your search
@@ -0,0 +1,33 @@
|
||||
//TempleOS supports standard $LK,"PrintF","MN:PrintF"$()
|
||||
//codes and extended ones.
|
||||
//See $LK,"printF codes","FA:::/TempleOS/Doc/Differences.TXT,PrintF_Codes"$.
|
||||
|
||||
//This file demonstrates $LK,"sub_fmt","FA:::/TempleOS/Doc/Differences.TXT,sub_fmt"$ codes.
|
||||
|
||||
|
||||
|
||||
"%10h?d\n",123456789;
|
||||
"%10h?d\n",12345;
|
||||
|
||||
"%10h3d\n",123456789;
|
||||
"%10h3d\n",12345;
|
||||
|
||||
"\nWith the 'k' flag:\n";
|
||||
"%10kh?d\n",123456789;
|
||||
"%10kh?d\n",12345;
|
||||
|
||||
"%10kh3d\n",123456789;
|
||||
"%10kh3d\n",12345;
|
||||
|
||||
"\nWith the ',' flag:\n";
|
||||
"%10,kh3d\n",123456789;
|
||||
"%10,kh3d\n",12345;
|
||||
|
||||
"\nFloating Point:\n";
|
||||
"%16h?n\n",.00123456789;
|
||||
"%16h?n\n",12345.0;
|
||||
|
||||
"%16.2h-6n\n",.00123456789;
|
||||
"%16.2h-6n\n",12345.0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user