Put [#] filenumber,[recordnumber], variablename
Writes to a file.
The Put statement has three parts:
filenumber - This is the number assigned to a file with the Open statement.
recordnumber - This is optional and is used for files opened in Binary mode. It is the byte position where writing to the file starts.
variablename - This is the name of the variable that contains the data that will be written to the file.
More: