Top > Lycia reference > Querix 4GL > Statements > CLOSE ... > CLOSE FILE
To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
This statement closed the file opened earlier by the OPEN FILE statement. It frees the file descriptor variable and it can then me used in another OPEN FILE statement. The WRITE, READ and SEEK statements cannot reference a file descriptor that was used in a CLOSE FILE statement unless another OPEN FILE statement initiates it again.
Element |
Description |
Descriptor |
The integer variable that was previously used in an OPEN FILE statement. |