学习VB时 自定义类型type 出错 请前辈给看看

我想自定义一个数据类型employee, 可是运行出错!请问错在哪里?

Private Sub Form_Click()

Private Type employee

emp_no ?As Integer

End Type

Dim wo As emplyee

wo.acc_int = 7890

Print "integer="; wo.acc_int

End Sub

?

Published At
Categories with Web编程
Tagged with
comments powered by Disqus