fclose
- close a file

File Input/Output functions
(AFL 2.5)


SYNTAX fclose( filehandle )
RETURNS NOTHING
FUNCTION Closes a file.

The filehandle (NUMBER) should be the handle returned by fopen function.

EXAMPLE fh = fopen( "myfile.txt", "w");
if( fh )
{
   
fputs( "Testing", fh );
   
fclose( fh );
}
SEE ALSO fopen() function , fputs() function , fgets() function

References:

The fclose function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference