VISREFTABLE
(Function)

Refer to data on the look-up table.

VISREFTABLE (<table number>,<input value>)

<table number>
Specifies the number of the look-up table (0 to 15).
<input value>
Specifies the input value of the table (0 to 255).

VISSCREEN 1, 0, 1
|
|
VISCLS 0
|
|
FOR I1 = 0 TO 255
|
|
I2 = VISREFTABLE(1, I1)
|
'Obtain table number 1 data
|
VISLOC 10, 10
|
'Set the position to display
|
VISDEFCHAR 1, 1, 2
|
'Set characters to display
|
VISPRINT "Data";I1;"=";I2
|
'Display the window
|
NEXT I1
|
|