The USFile Close Method

Previous Next

See Also

The Close method closes a file which was previously successfully opened with USFile.Open. The Close method does not return any value, nor does it generate an error message. If the specified alias is not connected to an opened file, nothing happens.

The syntax is:

INVOKE USFile.Close

WITH

SELECT <Alias>

Where Alias is the alias of the file to be closed, previously assigned to a file using the USFile.Open method. The alias is case insensitive and may be preceded by 'USFile.'.

Example:

INVOKE USFile.Close

WITH

SELECT 'USFile.ToursFile'