新手求教一个文件读写问题
本人是一个新手,刚学VB6。0,在设计一个文件读写程序,在参考各位高手在论坛的各种方法,仍没能完成,文件内容如下:&T AIAA
p0=90-
br_no=5588(本部)
br_name= 宏峰公司
yy=2006
0=08
1=01
ccy=人民币
itm=10000
itm_name=
l_dbt_bal= 574,916.87
l_crt_bal= 0.00
dbt_amt= 2,432,480.00
crd_amt= 2,050,820.22
dbt_bal= 956,576.65
crd_bal= 0.00
&L
itm=10100
itm_name=库存现金
l_dbt_bal= 574,916.87
l_crt_bal= 0.00
dbt_amt= 2,432,480.00
crd_amt= 2,050,820.22
dbt_bal= 956,576.65
crd_bal= 0.00
&L
itm=10101
itm_name=库存现金
l_dbt_bal= 574,916.87
l_crt_bal= 0.00
dbt_amt= 2,432,480.00
crd_amt= 2,050,820.22
dbt_bal= 956,576.65
crd_bal= 0.00
&L
itm=12000
itm_name=
l_dbt_bal= 111,898,001.14
l_crt_bal= 0.00
dbt_amt= 6,994,598.23
crd_amt= 7,327,528.32
dbt_bal= 111,565,071.05
crd_bal= 0.00
&L
itm=12300
itm_name=
l_dbt_bal= 99,180,000.00
l_crt_bal= 0.00
dbt_amt= 0.00
crd_amt= 0.00
dbt_bal= 99,180,000.00
crd_bal= 0.00
&L
&L line
itm=12301
itm_name=
l_dbt_bal= 9,180,000.00
l_crt_bal= 0.00
dbt_amt= 0.00
crd_amt= 0.00
dbt_bal= 9,180,000.00
crd_bal= 0.00
&L
itm=12303
itm_name=
l_dbt_bal= 90,000,000.00
l_crt_bal= 0.00
dbt_amt= 0.00
crd_amt= 0.00
dbt_bal= 90,000,000.00
crd_bal= 0.00
&L
.
.
.
我想读取红色的内容和“=”后面的数字,格式排列如下:
905588宏峰公司
20060801,人民币
1,“10000”,514916.87,0,2432480,2050820.22,956576.65,0
2,“10100”,514916.87,0,2432480,2050820.22,956576.65,0
3,
.
.
.
直到最后,完成后保存在文件名为“GG905588.3”的记事本内。如果文件内容很多,不确定它有多大,如何处理?谢谢各位高手指教。