3 Star 5 Fork 3

RedGuy / SParamTest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Module1.bas 378 Bytes
一键复制 编辑 原始数据 按行查看 历史
RedGuy 提交于 2014-08-07 11:58 . first commit
Attribute VB_Name = "Module1"
Public Type myTest
aa As Integer
bb As String
End Type
Sub test()
Dim m As Variant
Dim myget As Object
Dim a(1) As New myCla
Dim b As New myCla
Dim col As New Collection
a(0).aa = 1
a(0).bb = "a"
a(1).aa = 2
a(1).bb = "b"
b.aa = 3
b.bb = "c"
col.Add b
'col.Add a(1), 2
'col.Add b, 3
For Each m In col
b.aa = m.aa
Next
m = col.Item(1)
End Sub
Visual Basic
1
https://gitee.com/fangguanlin/SParamTest.git
git@gitee.com:fangguanlin/SParamTest.git
fangguanlin
SParamTest
SParamTest
master

搜索帮助