VB题:执行下面程序,单击命令按钮后5秒,输出的结果为
执行下面程序,单击命令按钮后5秒,输出的结果为:Dims1AsString,s2AsString,s3AsString,s4AsStringPrivateSubForm_...
执行下面程序,单击命令按钮后5秒,输出的结果为:
Dim s1 As String, s2 As String, s3 AsString, s4 As String
PrivateSub Form_Load()
s1 = "A"
s2 = "B"
s3 = "C"
Timer1.Interval = 1000
End Sub
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
s4 = s3
s3 = s2
s2 = s1
s1 = s4
Print s1;
End Sub
求解答案和过程 展开
Dim s1 As String, s2 As String, s3 AsString, s4 As String
PrivateSub Form_Load()
s1 = "A"
s2 = "B"
s3 = "C"
Timer1.Interval = 1000
End Sub
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
s4 = s3
s3 = s2
s2 = s1
s1 = s4
Print s1;
End Sub
求解答案和过程 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询