Dim green As Integer
Dim blue As Integer
Private Sub Form_Click()
End
End Sub
Private Sub Timer1_Timer()
Dim x As Integer
Dim y As Integer
Dim i As Integer
Do Until i = 1000
i = i + 1
x = Rnd * ScaleWidth
y = Rnd * ScaleWidth
PSet (x, y), RGB(red, green, blue)
Loop
End Sub
Private Sub Timer2_Timer()
Form1.Cls
red = 255 * Rnd
green = 255 * Rnd
blue = 255 * Rnd
Timer1.Enabled = True
End Sub
dim a as integera=0
for i=200 to 300
if int(i/3)=i/薯旅3 and int(i/数衡凳拦岁7)=i/7 then
a=a+i
end if
next
msgbox a
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)