1.VBS loopè¯å¥ç¼ºå°do
VBS loopè¯å¥ç¼ºå°do
æºä»£ç ä¸æè¥å¹²å¤åè¯æ¼åé误,讯源菲特顶底指标源码è¿ææå丢äºä¸ªend if,å·²ç»æ£ç¡®è°è¯, On Error Resume Next
dim a,b,s,u
do while 1
u=inputbox("å 1ï¼å2ï¼ä¹3ï¼é¤4","ç®ä»ä¹ï¼")
if u=0 then
WScript.quit
else
if u=1 then
a=inputbox("请è¾å ¥ä¸ä¸ªæ°","å æ³ç®å¼")
b=inputbox("请è¾å ¥ä¸ä¸ªæ°","å æ³ç®å¼")
s=(abs(a)+abs(b))
msgbox(s)
End if
if u=2 then
a=inputbox("请è¾å ¥ä¸ä¸ªæ°","åæ³ç®å¼")
b=inputbox("请è¾å ¥ä¸ä¸ªæ°","åæ³ç®å¼")
s=a-b
msgbox(s)
End if
if u=3 then
a=inputbox("请è¾å ¥ä¸ä¸ªæ°","ä¹æ³ç®å¼")
b=inputbox("请è¾å ¥ä¸ä¸ªæ°","ä¹æ³ç®å¼")
s=a*b
msgbox(s)
End if
if u=4 then
a=inputbox("请è¾å ¥ä¸ä¸ªæ°","é¤æ³ç®å¼")
b=inputbox("请è¾å ¥ä¸ä¸ªæ°","é¤æ³ç®å¼")
s=a/b
msgbox(s)
End if
end if
loop
2024-12-22 15:05
2024-12-22 14:34
2024-12-22 13:33
2024-12-22 13:24
2024-12-22 13:20
2024-12-22 13:06