Name
rms.get
— Fetch the value of the specified record store
and record id
Synopsis
rms.get
rsname
[recordid
]
Description
The rms.get command returns the value
of the data stored in record store
rsname
. The
optional argument
recordid
specifies the record id, and defaults to 1. An error is
thrown if the record does not exist.
Example
rms.set highscore 1 [highscore]
... application restarted ...
set highscore [rms.get highscore 1]