Put (channel, value, recordnumber)
Data written with Put is usually read from a file with Get.
The first record or byte in a file is at position 1, the second record or byte is at position 2, and so on. If you omit recordnumber, the next record or byte after the last Get or Put statement or pointed to by the last Seek function is written.
For files opened in Random mode, the following rules apply:
Dim MyArray(1 To 5,1 To 10) As Integer
For files opened in Binary mode, all of the Random rules apply, except:
VarString$ = String$(10," ")
Put
#1,,VarString$
Get Function | Open Statement | Seek Function | Writing Data to Files