formZ SDK | 5.0 API Reference | System | Script Only

# fz_std_fprint_int

Description

Writes an integer value to a file. The field_width argument determines the minimum width of the output in # of digits. More are written, if the integer has more digits. If the integer has less digits, extra blanks are written in front of the number. If the field_width is passed as 0 or less, the exact number of digits for the integer are written. The file must have been opened for write (see fz_std_fopen).

Parameters

file [Input]

file to be written to.

lval [Input]

the integer to be written.

field_width [Input]

the minimum field width

Returns

# of digits written, or negative if an error occurred.

Availability

5.0.0.0

See Also

fz_std_fscan_int