BB___PUT

=PUT= toc

Description
> Used with opened Random access files, PUT writes record //**n**// to the file referenced by //**#handle**//.

> See also, GET, FIELD, and Random access files.

Syntax

 * 1) put //#handle, n//

Example
code format="vbnet" ' open a random access file open "custdata.001" for random as #cust len = 70

' define the fields field #cust, 20 as name$, 20 as street$, 15 as city$,_ 2 as state$, 10 as zip$, 3 as age

' enter data into customer variables input name$

' Remaining fields have been left out in order to keep example simple. '. '.

' put the data into record 1 put #cust, 1

' close the file and end the program close #cust end code

Useful Functions
code format="vbnet" Place a useful function using this command here code