PUT

Top  Previous  Next

Syntax

PUT(vFile as BFILE,record as INT,var as POINTER)

Description

.Puts one record to the random access binary file vFile. record must be greater than zero and the file must have been opened by OPENFILE. var can be any built-in or user defined variable type.

Parameters

vFile - Open binary file variable. Must have been opened with "W" or "A" mode.

record - Ones based record number.

var - Variable to store in file. Can be any built in type or UDT.

Return value

None

Remarks

See Also: OPENFILE, GET

Example usage

PUT myfile, 20, phone_data