|
-
Jun 26th, 2007, 09:38 PM
#1
Thread Starter
Lively Member
Problem again (regarding loop): how to compare certain part between files
i got 2 INI file (file1 and file2), i wish to compare the specific part of the file, below the compare part only true if file 1 and file2 have an identical line data. (mean line7(aaa=...) of file1 must same as line7(aaa=...) of file2)
if line7(aaa=...) but file2's line 7 = [DEF] ... it will show the content of aaa is different.
File1:
[ABC]
aaa=1
aab=2
aac=3
[DEF]
aaa=13
aab=24
aac=3
[GHI]
aaa=1
aab=24
aac=35
File2:
[ABC]
aaa=17
aab=2
aac=3
[DEF]
aaa=13
aab=33
aac=35
[GHI]
aaa=1
aab=24
aac=35
Last edited by yamaha102; Jul 1st, 2007 at 07:57 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|