帮我解释一个非常简单的程序循环d=FedBAck.RT (这个是我按键反应的时间)if d>=a and d=b then a=1000b=1000elseend if作用?尤其是if a>=b then a=1000b=1000else有什么用啊谢谢.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/05 16:06:55
帮我解释一个非常简单的程序循环d=FedBAck.RT (这个是我按键反应的时间)if d>=a and d=b then a=1000b=1000elseend if作用?尤其是if a>=b then a=1000b=1000else有什么用啊谢谢.

帮我解释一个非常简单的程序循环d=FedBAck.RT (这个是我按键反应的时间)if d>=a and d=b then a=1000b=1000elseend if作用?尤其是if a>=b then a=1000b=1000else有什么用啊谢谢.
帮我解释一个非常简单的程序循环
d=FedBAck.RT (这个是我按键反应的时间)
if d>=a and d=b then
a=1000
b=1000
else
end if
作用?
尤其是if a>=b then
a=1000
b=1000
else
有什么用啊谢谢.

帮我解释一个非常简单的程序循环d=FedBAck.RT (这个是我按键反应的时间)if d>=a and d=b then a=1000b=1000elseend if作用?尤其是if a>=b then a=1000b=1000else有什么用啊谢谢.
这个主要是if...else...语句.如果if满足,执行其后的语句,否则执行else后的语句.比如你后面的:if a>=b then
a=1000
b=1000
else
如果a>=b 成立,执行赋值语句 a=1000
b=1000
否则执行后面的else语句.不知解释的是否明白