Liberty BASIC Help Online

GET #h, n
GET #handle, recordNumber
GET is used after a random access file is opened to get a record of information (see FIELD) from a specified position.
  open "custdata.001" for random as #cust len = 70   ' open random access file
  field #cust, 20 as name$, 20 as street$, 15 as city$, 2 as state$, 10 as zip$, 3 as age
  ' get the data from record 1
  get #cust, 1
  print name$
  print street$
  print city$
  print state$
  print zip$
  print age
  close #cust
Note:  See also  Random FilesPUT, FIELD

Copyright (C) 2003 Shoptalk Systems
Liberty BASIC -