string str
str = "win_1"
open(str)
打开一个窗口,是字符串变量,怎么转换呢?
------解决方案--------------------
window w_to_open
string s_w_name
s_w_name = "win_1"
Open(w_to_open, s_w_name)
------解决方案--------------------
window w_to_open
string wn
wn = "win_pop"
if IsValid(w) then //试一下
messagebox("提示","窗口已经打开~~")
else
open(w_to_open, wn) //用这个打开的窗口 IsValid(win_pop)=true 判断失效
end if