VB计算器总如何弄储存功能?

来源:百度知道 编辑:UC知道 时间:2024/06/16 21:14:57
VB计算器总如何弄储存功能?

定义collection,把要存储的数值add进去就行,如下
Dim col As New Collection
Dim i as Integer
Dim temp as Integer
for i=1 to 10
col.Add i
next
取得时候
For i = 1 To col.Count
temp=col(i)
Next

放注册表也可以啊
SaveSetting,GetSetting