
Command Reference
308660-14.00 Rev 00
2-31
A summary of the flags and conversion codes follows:
<format>
= %
<flag><width>.<precision><conversion_specification>
<flag>
represents one of the following symbols:
• minus sign (
-) left-justifies data; default is right-justified.
• plus sign (
+) prints a number.
• space ( ) prints a minus sign in front of a negative number, or prints a space in
front of a positive number.
•zero (
0) pads numeric conversions with zeros.
• pound sign (
#) specifies an alternate output form if the conversion specifier is
x or o.
<width>
is a number that specifies the minimum field width. If
<width>
is
specified as an asterisk (*), then use the next argument as
<width>
.
period (.) separates
<width>
and
<precision>
.
<precision>
specifies the maximum number of characters to be printed from a
string, or the minimum number of digits for an integer. If
<precision>
is an
asterisk (*), then use the next argument as
<precision>
.
Table 2-4. Special Characters
Character Meaning
\a audible bell
\b backspace
\f form feed
\n newline
\r carriage return
\t tab
\xhh hex. code
\000 octal code
Comentarios a estos manuales