各位高手帮帮手啊!!帮我看一下这代码是怎么的!(VB)
Type studentstnum As String * 12
stname As String * 4
gaoshu As Integer
yingyu As Integer
wuli As Integer
cyuyan As Integer
jisuanji As Integer
average As Long
End Type
Public recordvar As student
Public recordvar1 As student
Public recordvar2 As student
Public recordnumer As Integer
Public position As Integer
--------------------编程问答-------------------- Type student
stnum As String * 12
stname As String * 4
gaoshu As Integer
yingyu As Integer
wuli As Integer
cyuyan As Integer
jisuanji As Integer
average As Long
End Type
定义了一个数据结构
Public recordvar As student
Public recordvar1 As student
Public recordvar2 As student
定义了3个全局变量,变量类型就是上面的那个数据结构
Public recordnumer As Integer
Public position As Integer
定义了2个整型变量
我说老大,你连这些都不知道???还是先搞本基础书好好看看吧。 --------------------编程问答-------------------- 没搞懂要问什么。 --------------------编程问答-------------------- 存取结构变量用“.”操作符:如,recordvar.stnum,recordvar.stname...
补充:VB , 数据库(包含打印,安装,报表)