Top  >  Lycia reference  >  Querix 4GL  >  Statements  >  CLOSE ...  >  CLOSE FILE

CLOSE FILE

 

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.