各位大侠帮忙看看这个vbs哪里错了,系统提示“调用过程(sub)时不能使用括号”!谢谢!a=msgbox("Are you a pig? plase answer[Yes]or[No]!",36,"Please be careful to answer it")if a=6 thenmsgbox("Yours answer is [Yes],are you

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 14:34:23
各位大侠帮忙看看这个vbs哪里错了,系统提示“调用过程(sub)时不能使用括号”!谢谢!a=msgbox("Areyouapig?plaseanswer[Yes]or[No]!",36,"Please

各位大侠帮忙看看这个vbs哪里错了,系统提示“调用过程(sub)时不能使用括号”!谢谢!a=msgbox("Are you a pig? plase answer[Yes]or[No]!",36,"Please be careful to answer it")if a=6 thenmsgbox("Yours answer is [Yes],are you
各位大侠帮忙看看这个vbs哪里错了,系统提示“调用过程(sub)时不能使用括号”!谢谢!
a=msgbox("Are you a pig? plase answer[Yes]or[No]!",36,"Please be careful to answer it")
if a=6 then
msgbox("Yours answer is [Yes],are you sure?",36,"Please be careful to answer it")
elseif a=6 then
msgbox("Ok,byby!have a good dream!")
elseif a=7 then
do
msgbox("You are a pig!")
loop

各位大侠帮忙看看这个vbs哪里错了,系统提示“调用过程(sub)时不能使用括号”!谢谢!a=msgbox("Are you a pig? plase answer[Yes]or[No]!",36,"Please be careful to answer it")if a=6 thenmsgbox("Yours answer is [Yes],are you

系统不是说的很清楚吗?

“调用过程(sub)时不能使用括号”

那你就把括号删了呀!

a=msgbox("Are you a pig? plase answer[Yes]or[No]!",36,"Please be careful to answer it")
if a=6 then
msgbox "Yours answer is [Yes],are you sure?",36,"Please be careful to answer it" '!
elseif a=6 then
msgbox "Ok,byby!have a good dream!" '!
elseif a=7 then
do
msgbox "You are a pig!" '!
loop

以上脚本标有 '! 符号的就代表那行的内容改过的.


顺便提示一下,你的baby写错了.你写成byby了!have的H没有大写.please也是