日航大酒店自助餐:Qbasic的问题

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/27 17:39:50
帮我看看下面的语句有什么问题。

x=15:k=1
circle(x,200),14
paint(x,200),14
for i=1 to 3000
circle(x,200),10,0
paint(x,200),0
if x-1<=10 or x+1>=600 then k=-k

x=x+k
circle(x,200),10,14
paint(x,200),14
next i
end
*
*
*
*
*
http://zhidao.baidu.com/question/4745352.html

paint 语句有问题~

循环好像也不对~