Read

Reads data from a table

Syntax: var = Read([table, index])

table and  index are both optional.  If used Read will return the data contained in table “table” at location “index”, (the data is indexed starting at 0).  If not used Read will return the next data in the currently selected table.

Example:

Sub test()
  Dim a As uByte

  a=Read(tbl,2)   ' a is 20
  a=Read()        ' a is 25
End Sub

Table tbl As uByte
  Data 10,15,20,25,30
End Table

Also See: Restore, Table