Syntax: #FI filenum filename
Related: #READ #WRITE

Open a file for reading and writing. TeSSH provides 10 files. Files numbered 1-5 are text files that can be read sequentially, or appended to. Files numbered 6-10 are string record files that can be read and written randomly. If the numbered file is already opened, the previous file is closed. The filename given in name is restricted to the current directory containing your data files (usually a subfolder of My Documents) and cannot refer to a EXE, HLP, or server file. This protects you from accidentally modifying important files on your disk.

If used without any arguments, the names of all open files are displayed.

FILE example

#FILE 1 test.txt
assigns text.txt to file 1.

Add comment

Login or register to post comments