|This doesn't work for what i'm trying to do...|
Basically i have a server log with lots of the following lines:
I take tokens 5,6,7,8,9 (EURUSD, 1000, 1.4000, 171, 6) and put each one in it's own separate text file.
So i then have a a file called: Currency1.txt to store value EURUSD and nother called Currency 2.txt to store USDJPY and so on for all server log lines, i also have other text files with other names with incremental numbering for each server log line doing the same thing.
So now i'm trying to read Currency1.txt and Currency2.txt and compare their 2 values EURUSD and USDJPY and see whether they are the same or not.
Then i want to increment the filename so i can compare Currency2.txt and Currency3.txt and so on....
Understand my problem?