单项选择题

下列符号( )是Visual Basic中的合法变量名。

A.x23
B.8xy
C.END
D.
<上一题 目录 下一题>
热门 试题

单项选择题
下列数组声明正确的是( )。
A.n=5
Dim a(1 to n) As Integer
B.Dim a(10) As Integer
ReDim a(1 To 12)
C.Dim a() As Single
ReDim a(3,4) As Integer
ReDim a(1 to n)As Integer
D.Dim a() As Integer
n=5
单项选择题
设有如下变量声明: Dim TestDate As Date 为变量TestDate正确赋值的表达方式是( )。
A.TestDate=#1/2002#
B.TesDate=#"1/1/2002"#
C.TesDate=date("1/1,2002")
D.TesDate=Format("m/d/yy","1/1/2002")
相关试题
  • 阅读程序: Option Base 1 Private S...
  • 假定一个工程由一个窗体文件Forml和两个标...
  • 在窗体上添加一命令按钮,名为Command,事...
  • 下列程序段的执行结果为( )。 a=1 b...
  • 在窗体上添加一个按钮,名为Command1,然...