SparrowOSTS_121127.ISO
This commit is contained in:
1 parent
0e9364ff4c
commit
e57428affb
1218 files changed
+247142
-165507
No files matched your search
@@ -0,0 +1,33 @@
|
||||
//SparrowOS supports standard $LK,"PrintF","MN:PrintF"$()
|
||||
//codes and extended ones.
|
||||
//See $LK,"printF codes","FA:::/SparrowOS/Doc/Differences.TXT.Z,PrintF_Codes"$.
|
||||
|
||||
//This file demonstrates $LK,"sub_fmt","FA:::/SparrowOS/Doc/Differences.TXT.Z,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