VB编程如何将*.txt文件中的数据读入到数组?

250 2024-01-06 16:51

dim strline as stringdim a()dim i as integeropen app.path +"\1.txt for input as #1do until eof(#1)i=i+1line input #1,strlineredim preserve a(i)a(i-1)=strlineloop

顶一下
(0)
0%
踩一下
(0)
0%
相关评论
我要评论
点击我更换图片