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.
| 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"
| | |
145 | REM "add line here" |
| |
150 | REM "add line here" |
| |
155 | REM "add line here" |
| |
160 | REM "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
| |