|
|
|
|
|
- Closing a file opened several times
- Closing a locked file
fClose (Function) In french: fFerme Syntax
<Result> = fClose(<File used>)
<Result>: Integer - 0 is the external file is closed,
- -1 if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant. fClose throws an error if the file is not opened.
<File used>: Integer or DiskFile variable Remarks Closing a file opened several times The same file can be opened several times simultaneously. Each version of the file must be closed individually via its own identifier.
Related Examples:
|
Unit examples (WINDEV): Handling text files
[ + ] Handling "text" files with WINDEV: - Create a text file - Write into a text file - Read in a text file
|
|
Unit examples (WEBDEV): Handling text files
[ + ] This example explains how to handle "non HFSQL" files with WEBDEV and it allows you to: - Create a text file - Write into a text file - Read in a text file
|
|
Unit examples (WINDEV Mobile): Handling text files
[ + ] Handling external "text" files: - Create a text file - Write into a text file - Read in a text file
|
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|