home *** CD-ROM | disk | FTP | other *** search
- The width in the format state specifies the minimum size of a
- field. A value can still take up more characters than the width,
- but if it takes fewer characters than the width, the characters
- are padded with the fill character. This example shows you how to
- set the width in the format state and the effect the width of
- fields has on input and output. Note that if you set the field
- width, it only affects the next input or output operation. If you
- want to set the field width for a series of input or output
- operations, you must reset the width after each operation.
-