Can you please try this in VBScript: You got a text file with several currency amounts, every one in one line on following format:
DESCRIPTION Date Amount
McDonalds 2011-01-01 20.00
Clothing Store 2011-01-02 30.00
Try to build a program to read that text file and sum all values found in there.
First (pedestrian) attempt:
Output:
Second attempt (using a regular expression):
Third attempt (ADO/Text driver):
schema.ini:
Code:
Output:
or - with a bit of additional work: