formZ SDK | 5.0 API Reference | System | Script Only

# fz_std_fscan_bool

Description

Reads TRUE or FALSE from a file. If the item to be read is not TRUE or FALSE, the boolean value is assigned FALSE. The boolean values in the file must be separated by white space (blanks, tabs, returns ...). The file must have been opened for read (see fz_std_fopen).

Parameters

file [Input]

file to be read from.

bval [Result]

the boolean to be read.

Returns

# of characters read, or negative if an error occurred.

Availability

5.0.1.0

See Also

fz_std_fprint_bool