The PUT statement builds a record from the
current values of the field variables defined in the FIELD statement
and writes it to the specified data file.
Set fileno to the value specified when opening the data file.
recordno specifies, as a record number, the write position.
If this parameter is omitted, the BHT uses the current maximum
record number +1, adding the record to the end of the data file.
Note that always convert numerical data to string data with
the STR$ function before assigning it to a field variable.
|