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