Close ASCII File

Closes an ASCII file that has previously been opened via Open ASCII File, optionally saving it.

 

Input Arguments

 

0

Integer

ASCII File Handle

The handle of the open ASCII file to close.

1

Boolean

Save?

Indicates whether the file should be saved when closed (whether changes should be discarded).

Return Arguments

None.

 

Returned Status

 

SUCCESS

The file was closed successfully.

FAILURE

The file reference is invalid.

 

Remarks

A valid file handle that has previously been opened must be provided.