File B:
Group Name: Small
Junk: lll
Product Name:
AAA
BBB
Group Name: Big
Junk: ggg
Product Name:
AAA
CCC
DDD
more<bg>
I need to print out:<br
Group Small:
AAA 10
BBB 20
Total 20
Group Big:
AAA 10
CCC 30
DDD 40
Total 80
Thanks!
In reply to How to read 2 files and do the calculations
by Anonymous Monk
in thread How do read the varibles from a files and do some calculation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |