大型VB阵列存储 [英] Large VB Array Storage

查看:66
本文介绍了大型VB阵列存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用此语句在VB中创建了一个数组

I have created a array in VB with this statement

Dim Gamedata(5000,500)



我可以毫无问题地写入和读取数组.任何人都可以给我一个想法,如何将该数组保存到文件中进行存储.然后重新加载回以供程序使用.数据永远不会改变其放置到数组中的位置,而只是在使用过程中读取.

到目前为止,我还没有给出文件格式或如何创建用于存储信息的文件的任何想法.

任何帮助将不胜感激

戴维·约翰逊博士


抱歉,是VB6,但是我希望它尽可能与VB11向上兼容.接下来,我对编程非常陌生,并且有几本关于VB6的书.但是,即使我可以创建数组并写入数组并从中读取数据,也无法在关闭程序时找到如何将数组中的数据保存到文件中.您如何在数据之间创建分隔符?

再次感谢



I can write and read to the array with no problems. Can anyone give me an idea how to save this array to a file for storage. Then load it back in for use with the program is restarted. The data never changes its placed into the array once then just read during use.

Nothing I have read so far has giving a file format or any idea how to create a file for storing the information.

Any help would be appreciated

Dr David Johnson


Sorry, Yes VB6 however I would like it to be upwards compatible to VB11 if possible. Next I am very new to programming and have several books on VB6. However even though I can create the array and write to in and read from it no where can I find out how to save the data in the array to a file when you close the program.If its a text file when you save it out how do you create separators between the data?

Thanks again

推荐答案

您对vb6 put函数做了什么尝试;
what about vb6 put function did you try it;


这篇关于大型VB阵列存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆