read()

Read data values, at given pointer position, from inline data structure.

Syntax:
read( {pointer} )

If you don't pass pointer, read command reads current data values and move pointer position to next data value.

Example:
data(1,2,3,4,5,6,7,8)
for i = 0 to 7
    fprints( read()& " - " ) 
next
prints(chr(13))
for i =0 to 20
    n=rnd(7)
    prints( read( n ) )
next
waitKey

See also data() command.