FreeBASIC  0.91.0
io_lprint_byte.c
Go to the documentation of this file.
1 /* print [#] function (byte) */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL void fb_LPrintByte ( int fnum, char val, int mask )
7 {
9  mask = FB_PRINT_CONVERT_BIN_NEWLINE(mask);
10  FB_PRINTNUM( fnum, ((int) val), mask, "% ", "d" );
11 }
12 
13 /*:::::*/
14 FBCALL void fb_LPrintUByte ( int fnum, unsigned char val, int mask )
15 {
16  fb_LPrintInit();
17  mask = FB_PRINT_CONVERT_BIN_NEWLINE(mask);
18  FB_PRINTNUM( fnum, ((unsigned) val), mask, "%", "u" );
19 }