【VB开源代码栏目提醒】:网学会员在VB开源代码频道为大家收集整理了Ex6_12.frm提供大家参考,希望对大家有所帮助!
VERSION 5.00
Begin VB.Form Ex6_12
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Ex6_12"
Attribute
VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim mycls As New ProArray
Private Sub Form_Click()
Dim i As Integer, j As Integer
For i = 1 To 3
For j = 1 To 4
mycls.arr(i, j) = i * j '为数组属性赋值
Print mycls.arr(i, j); '打印数组属性的值
Next j
Print
Next i
End Sub