VB中 Option ExplicitPrivate Sub Form_Click()Dim 5Fg Integer (1)Dim L * og As Long (2)Dim s - ig As Single (3)Dim dob_ As Double (4)Dim _Name AS String (5)Dim bln@ Frag As Boolean (6)Dim do As Data (7)End Sub电脑上的提示
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/24 03:50:41
VB中 Option ExplicitPrivate Sub Form_Click()Dim 5Fg Integer (1)Dim L * og As Long (2)Dim s - ig As Single (3)Dim dob_ As Double (4)Dim _Name AS String (5)Dim bln@ Frag As Boolean (6)Dim do As Data (7)End Sub电脑上的提示
VB中
Option Explicit
Private Sub Form_Click()
Dim 5Fg Integer (1)
Dim L * og As Long (2)
Dim s - ig As Single (3)
Dim dob_ As Double (4)
Dim _Name AS String (5)
Dim bln@ Frag As Boolean (6)
Dim do As Data (7)
End Sub
电脑上的提示是:
(1)(7)的错误是缺少标志符
(2)(3)(6)的错误是缺少语句结束
(5)的错误是无效字符
能不能通俗的给我解释一下为什么么,还有为什么要这样解决,看不懂太理论的,
VB中 Option ExplicitPrivate Sub Form_Click()Dim 5Fg Integer (1)Dim L * og As Long (2)Dim s - ig As Single (3)Dim dob_ As Double (4)Dim _Name AS String (5)Dim bln@ Frag As Boolean (6)Dim do As Data (7)End Sub电脑上的提示
1 fg5
7 不要用do
3 2 6 去掉* # @
5 将AS写成As 变量名首字母只能是英文字母