formZ SDK | 5.0 API Reference | System | Script Only

# fz_std_fclose

Description

Flushes any unwritten data for the file, discards any unread buffered input, frees any automatically allocated buffer and closes the file. It returns EOF, if any errors occurred and zero otherwise.

Parameters

file [Input]

file to be closed

Returns

EOF, if an error occurred, zero otherwise

Availability

5.0.0.0