一个vbs脚本,function后输出一个字符串,现在我只能MSGBOX这个function,那如何把这个function输出的字符串设为变量呢?谢谢啦!
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
a = "msgbox BytesToBstr(Http.responseBody,""UTF-8"")"
execute a
Set http = CreateObject("Msxml2.XMLHTTP")
http.open "POST", "http://m.renren.com/", false
http.send
msgbox http.responseText
msgbox string
a=string
msgbox a
function string()
string="test..."
end function