下面的示例创建并激活一个名为 output 的窗口。程序等待您按下一个键,然后隐藏窗口。程序等待您再按一下键,然后重新显示窗口。
clear
define window output from 2,1 to 13,75 title 'output' ;
close float grow shadow zoom
activate window output
wait window 'press any key to hide window output'
hide window output
wait window 'press any key to show window output'
show window output
wait window 'press any key to release window output'
release window output