Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare 2 prg's
Message
From
08/11/2006 12:07:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01167453
Message ID:
01168089
Views:
14
>>I developed GKK Compare (download #30448). This tool supports comparing forms, visual classes and program files. It displays side-by-side with color coding and uses industry standard algorithm for code comparison. It is free to use...
>
>Cool! I will definitely check it out. I plugged the file compare feature in Visual SlickEdit but it knows as much about SCXs and VCXs as a hog knows about heaven. All it will tell you is "Binary files differ" or "Binary files match."

I have used WinMerge (open source) in the past to compare flat files (like prg) but no easy support for forms. Even if you use something to extract the methods, you still have to be concerned with the relative order of the methods. This is one of the reasons I developed this tool -- to allow the comparison of the form/class methods and not have to be concerned with the order in the different files.

BTW -- the algorithm used in WinMerge for comparison is the same that I use (Longest Common Sequence) which is pretty much the standard approach. I have also noticed that different matching results can be obtained by removing leading whitespace -- so this is an option that the user can select (as well as compressing multiple spaces).
Previous
Reply
Map
View

Click here to load this message in the networking platform