hello im trying to create a script that will compare two text files. The
script should compare the text file word per line. I already have a
script for this but i used array to split the line. Now here is my
problem i am required to use object dictionary no array must be used.
Can you please help me how to split line into word using dictionary.
Do While Tfile1.AtEndOfStream <> True
y = y+1
Stra = Tfile1.ReadLine
If Tfile2.AtEndOfStream <> True then
Stra1 = Tfile2.ReadLine
Stra1 = " "
Stra = Stra + " "
Stra1 = Stra1 + " "
Arr1 = Split(Stra)
Arr2 = Split(Stra1)
Ctra = Ubound(Arr1)
For x =1 to Ctra
If (Arr1(x-1)) <> (Arr2(x-1)) then
Strc = " "" " + Arr1(x-1) + " "" Line " + Cstr(y) + " In
Textfile 1 "
Strc1 = " "" " + Arr2(x-1) + " "" Line " + Cstr(y) + " In
Textfile 2 "
Strc = Strc + Strc1
*** Sent via Developersdex http://www.developersdex.com