VB程序改错(信息技术课)急求。 Private Sub command1_click() Dim a As Integer, b As Integer, privat

日期:2017-09-26 20:57:34 人气:1

VB程序改错(信息技术课)急求。 Private Sub command1_click() Dim a As Integer, b As Integer, privat

1)变量的名必须是字母或文字开头,而不能使用数字或其他字符开头 (2)变量名不能含有小数点、空格 (3)变量名的总字数不能超过255个 (4)不能含有VB的专用保留字,在VB中有特殊意义的单词、字母组合。例 如: Print 、sub 、end 、click等 (5)VB不区分大小写 private As Integer-->错,vb关键字 5 a = 3-->5a不对 a -b = 7 -->b=a-7
    A+
热门评论