
Chapter 21 Vision Control (Option)
21-13
VISREFTABLE (Function)
Function
Refers to data on the look-up table.
Format
VISREFTABLE (<Table number>, <Input value>)
Explanation
<Table number> Designates the number of the look-up table (0 to 15).
<Input value> Designates the input value of the table (0 to 255).
Related Terms
VISDEFTABLE
Example
VISSCREEN 1, 0, 1'
VISCLS 0 '
FORI1=0TO255 '
I2 = VISREFTABLE(1, I1) 'Obtains table number 1 data.
VISLOC 10, 10 'Sets the position to display.
VISDEFCHAR 1, 1, 2 'Sets characters to display.
VISPRINT “Data”;I1;“=”;I2 'Displays the window.
NEXT I1 '
Komentáře k této Příručce