dim &myGrade as integer
dim grade%
dim t as boolean
dim a,b as single
txtNum=200
请问上面的定义正确吗?
为什么?
他们分别属于什么定义?
dim &myGrade as integer
dim grade%
dim t as boolean
dim a,b as single
txtNum=200
请问上面的定义正确吗?
为什么?
他们分别属于什么定义?
dim &myGrade as integer
'错误 应该写成:dim myGrade as integer 定义整型的变量myGrade
dim grade%
dim t as boolean
dim a,b as single
txtNum=200
其他均对
dim &myGrade as integer
书写错误,可以写成 dim myGrade& ‘& 等价于 as long