Purpose With CloseFile you can close a file.
Example CloseFile "X:GuiXTFiles\MatDes.txt"

The file is closed. The next ReadFile command starts at the beginning of the file with the first record.

Format CloseFile "filename"
Tips
& Tricks

Opening and closing a file is valid for each SAP mode separately

Components GuiXT + InputAssistant