vb判断题

来源:百度知道 编辑:UC知道 时间:2024/05/01 12:50:19
1,case是合法的变量命名()
2,用符号常量可以表示不定型数据()
3,若一个工程包含多个窗体,则这些窗体之间是可以互相调用的()
4,窗体间是通过窗体对象的caption来调用的()
5,一个数组中的元素必须是相同的数据类型()
补充程序完整
private sub command1_click()
Dim intl As Integer
Intl=Val(Text1.text)
select case intl
case__________________
Text2.Text=“值为0”
case_________________
Text2.Text=“值在1和10之间(包括10)”
case_________________
Text2.Text=“值大于10”
Case Else
Text2.Text=“值小于0”
End Select
End Sub

1.错
2、错
3、对
4、错
5、错
补充:private sub command1_click()
Dim intl As Integer
Intl=Val(Text1.text)
select case intl
case 0
Text2.Text=“值为0”
case 1 to 10
Text2.Text=“值在1和10之间(包括10)”
case is >10
Text2.Text=“值大于10”
Case Else
Text2.Text=“值小于0”
End Select
End Sub