Renoir,
I have the following IntelliSense script assigned to BC:
LPARAMETERS oFoxcode
LOCAL lcReturn, lcFileA, lcFileB
lcFileA = GETFILE("PRG;TXT","","",0, "File 1 to compare")
lcFileB = GETFILE("PRG;TXT","","",0, "File 2 to compare")
lcRetVal = 'RUN /N "C:\PROGRAM FILES\BEYOND COMPARE\BEYOND32.EXE" ' +;
lcFileA + ' ' +;
lcFileB
oFoxcode.valuetype = "V"
RETURN lcRetVal
This script returns a string that calls BeyondCompare with the selected files. Very handy and as Frank mentioned, you can then edit the files from within BeyondCompare.
HTH
>>>Working on some legacy stuff and have just finished reworking a PRG and see that there is another one that is very similar. Is there a clean way of comparing them to note the differences? I used Word, but it found every difference including where text positions were changed and Hex Workshop doesn't have enough flexibility in how the text is displayed or allowing a "result" document to be created. I want to generate a file that includes all the difference and then edit it. Thanks!
>>>
>>>Regards, Renoir
>>
>>
>>I use a program called Beyond Compare.
>>
>>Cathy
>
>Cathy,
>
>Very cool! In your experience what have you found the best way is to work with result file? I used the File Differences Report with the Over/Under option, but I still need to remove the left column that contains the Left/Right information. How do you clean it up after editing?
>
>UPDATE: Or do you simply use the result file as a guide when editing the original PRG?
>
>Renoir
Daniel