Compare Source

The Compare Source Utility allows you to compare the source lines from 2 programs OR compare all the programs in 2 directories.
A program is considered Identical if all the Line Numbers and Source Lines Match. The Compare 2 programs simply bring up a message box to say the to Programs are Identical. The compare directories brings up a list of all the programs it compared stating which programs are identical, which only exist in one of the directories and hilites in red the programs that are not identical. Clicking on the red link in the directoties case or the programs are not identical in the 2 programs case brings up a Compare Programs dialog box with a table.

The table contains Line # and Source for each program. The source will be one of the following colors:
BLACK: the 2 Source Lines are the same. (The Line # may not be)
BLUE: the 2 Source Lines match except for line #'s that they reference
RED: the 2 Source Lines do not match
The Line #, Source from 1 of the programs can also be blank while the other programs source will be RED

Consider the following results:
D:\kenroot\SM32Demo\test\PROGS\CDEMO1 D:\kenroot\SM32Demo\test\PROGS\CDEMO2
100 REM 100,5 100 REM 100,5
105 REM "CDEMO" 105 REM "CDEMO"
110 REM "DEMO the Compare Source Utility" 110 REM "DEMO the Compare Source Utility"
115 IF A$=B$ THEN GOTO 0125 115 IF A$=B$ THEN GOTO 0125
120 IF D$=B$ THEN GOTO 0155 120 IF D$=B$ THEN GOTO 0175
125 REM "the orignal line 125 125 REM "the orignal line 125
130 REM "more code" 130 REM "more code"
135 REM "more code" 135 REM "more code"
140 REM "more code" 140 REM "more code"
   145REM "add line here"
   150REM "add line here"
   155REM "add line here"
   160REM "add line here"
145 REM "more code" 165 REM "more code"
150 REM "more code" 170 REM "more code"
155 REM "the orignal line 155 175 REM "the orignal line 155

CDEMO2 started out identical to CDEMO1. Then 4 lines were added between LINE 140 and 145. CDEMO2 was then renumbered.