FileClose()

Closes an file that is open.

FileClose( file=any );

Returns: void

Argument Description
file
any, required

The file to close.

Alias: fileObj

Examples

testFile = fileopen("filepath"),"write");
filewriteline(testfile,"I am the example of fileclose");
fileclose(testfile);

See also