下面的示例定义并激活了窗口
woutput1 。
程序等待您按一个键,然后隐藏此窗口。
程序等待您再按一个键,然后显示窗口的数值。
第三次按键会从屏幕和内存中删除此窗口。
define window woutput1 from 6,1 to 19,75 title 'output' ;
close float grow zoom
activate window woutput1
wait window 'press a key to hide this window'
hide window woutput1
wait window 'press a key to see the window again'
show window woutput1
wait window 'press a key to remove the window from memory'
deactivate window woutput1
release window woutput1