启教通信息平台
  首页 / 试题 / 高中信息技术 / 试题详细
  • 科目:信息技术
  • 题型:填空题
  • 难度:中等
  • 人气:1694

下列程序在调试时提示错误“块IF没有End If”,要使程序正常运行,则应该在        (填①或②)处添加语句             
Private Sub Image3_Click(Index As Integer)
Timer1.Enabled = False
Image1.Picture = Image3(Index).Picture
If x =" Index" Then
Label1.Caption = "平手"
Command1.Visible = True
           
Else
If x =" 1" And Index =" 2" Or x =" 2" And Index =" 3" Or x =" 3" And Index =" 1" Then
Label1.Caption = "您输"
Command1.Visible = True
Else
Label1.Caption = "您赢"
Command1.Visible = True
End If
          
End Sub

登录并查看解析

下列程序在调试时提示错误“块IF没有End If”,要使程序