Prototype
FileClose(intFileHandle)
Description
It closes a file.
Parameters
IntFileHandle: integer value corresponding to the file handle.
Returned value
None.
Notes
None.
Example
// It checks if a file exists
Esistente:=FileExists ('c:\files\unfile');
// It creates a file if it doesn't exist
If Esistente=False Then CreateFile('c:\files\unfile');
// It opens the file
UnFile:=FileOpen('c:\files\unfile');
// It places itself in the file
FileSeek(UnFile, 1);
// It writes a byte in the file
FileWrite(UnFile,1);
// It closes the file
FileClose(UnFile);