Select Case语句到底是什么意思?
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/16 12:20:56
Select Case语句到底是什么意思?
Private Sub C1_Click(Index As Integer)
Select Case Index
Case 1
Timer1.Enabled = False
Case 0
Timer1.Enabled = True
End Select
End Sub
这段的index是神马?case1、0又是神马?
Private Sub C1_Click(Index As Integer)
Select Case Index
Case 1
Timer1.Enabled = False
Case 0
Timer1.Enabled = True
End Select
End Sub
这段的index是神马?case1、0又是神马?
index就是一个参数嘛,Private Sub C1_Click(Index As Integer)这句里已经明明白白了嘛,就是一个传递过来的参数.
select case index是一种语法结构,用于单纯的判断,不做任何计算.就是判断index的值.
case 1表示index的值为1的时候执行后面的语句.
case 0表示index的值为0的时候执行后面的语句.
这样都还看不懂的话,建议你好好去复习下基础知识.
select case index是一种语法结构,用于单纯的判断,不做任何计算.就是判断index的值.
case 1表示index的值为1的时候执行后面的语句.
case 0表示index的值为0的时候执行后面的语句.
这样都还看不懂的话,建议你好好去复习下基础知识.
Select Case语句到底是什么意思?
select case 语句里 可以再套select case
select case 语句怎么判断在某两个值之间
Select Case语句中case不起作用啊~我建了三个单项框~但是只有第一个起作用~是不是case 1 case 2
这语句什么意思select * from [Feedbacks] where QId=3 order by case w
VB中,select case语句 case is的is 有什么用,好像有时候没有写好像有时候没有写,有时候又写了
select * from (select * from 表名) 这样的语法中括号里的查询语句是什么意思.为什么不直接f
这个HQL语句是什么意思:select new list(p.name,p.add) from person as p
请问sql语句“Select Distinct”是什么意思?可不可以讲一下它的用法
这句SQL语句是什么意思.ql="select distinct(selabel) from.
用VB编程,用select case语句实现,计算一元二次方程ax^2+bx+c=o的实根.有以下几种情况:
VB中,select case 超级难!一定要用select case做!