Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; get difference of two files in another one file
- #include <Array.au3>
- #include <File.au3>
- #include <MsgBoxConstants.au3>
- Local $ENRetArray, $RURetArray
- _FileReadToArray("en", $ENRetArray)
- _FileReadToArray("ru", $RURetArray)
- Local $ResFileOpen = FileOpen("res", $FO_APPEND)
- For $i = 1 To UBound($ENRetArray) - 1
- if _ArraySearch($RURetArray, $ENRetArray[$i], 0, 0, 0, 0, 1, 2) = -1 Then
- ConsoleWrite($ENRetArray[$i] & @LF)
- FileWrite($ResFileOpen, $ENRetArray[$i] & @LF)
- EndIf
- Next
- FileClose($ResFileOpen)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement