在下面的示例中,定义了一个名为 woutput1 的窗口,并把它保存到一个内存变量中。然后清除所有窗口,恢复并激活名为 woutput1 的窗口。
clear
define window woutput1 from 2,1 to 13,75 title 'output' ;
close float grow shadow zoom
save window woutput1 to temp
clear windows
restore window woutput1 from temp
activate window woutput1
wait "the window woutput1 has been restored" window
release window woutput1