Restore

Used to move the Read pointer to the first element in a table.

Syntax: Restore(tableName)

Example:

Sub test()
  Dim a As uByte

  Restore(tbl1)
  a=Read()      ' a is 15
  Restore(tbl2)
  a=Read()      ' a is 100
End Sub

Table tbl1 As uByte
  Data 15,10,2
End Table

Table tbl2 As uByte
  Data 100,200,300
End Table

Also See: Data, Read, Table