
Chapter 21 Vision Control (Option)
21-19
WINDCLR (Statement)
Function
Deletes set window information.
Format
WINDCLR <Window number>
Explanation
<Window number> Designates the window number (0 to 511).
Note (1): This instruction does not change the initial setting. When
restarting the system with the power OFF,
the initial setting
values are restored.
Note (2): If it is necessary to permanently delete data,
delete if with the
WINCAPSII VisManager.
Note (3): To execute this instruction,
a µ
µµ
µVision board (option) is
required.
Related Terms
WINDMAKE
Example
VISSCREEN 1, 0, 1'
VISCLS 0 '
VISCAMOUT 1 '
WINDMAKE R, 1, 50, 100, 0, 2'
FORI1=0TO7 '
FOR I2 = WINDREF(1, I1) 'Obtains window number 1 data.
FOR VISLOC 0, I1 'Sets the position to display.
FOR VISPRINT “Data”;I1;“=”;I2 'Displays the window.
NEXT I1 '
WINDCLR 1 '
VISLOC 0, 9'
VISPRINT “After deletion of window information”
'
FORI1=0TO7 '
FOR I2 = WINDREF(1, I1) 'Obtains window number 1 data.
FOR VISLOC 0, 10+I1 'Sets the position to display.
FOR VISPRINT “Data”;I1;“=”;I2 'Displays the window.
NEXT I1 '
Comentários a estes Manuais