Dec 172017
 
Volume 7 number 11 from PC-Mag.
File N7V11.ZIP from The Programmer’s Corner in
Category Files from Magazines
Volume 7 number 11 from PC-Mag.
File Name File Size Zip Size Zip Type
ANIMATE.BAS 230 154 deflated
CAR.BAS 3465 1236 deflated
CIRCLES.BAS 524 273 deflated
COMPARE.ASM 60820 11429 deflated
COMPARE.BAS 13080 3896 deflated
COMPARE.COM 2454 1962 deflated
COMPARE.DOC 1985 1004 deflated
COMPLEX.PAS 941 468 deflated
DOLINE.BAS 888 394 deflated
EGABSAVE.BAS 605 181 deflated
EGA_GRPH.PAS 3001 1186 deflated
FILL.BAS 250 180 deflated
PAINT.BAS 395 162 deflated
PIE.BAS 3574 1075 deflated
PRNBYL.ASM 6355 1241 deflated
PRNBYL.BAS 1797 822 deflated
PRNBYL.COM 325 295 deflated
SCANTD.ASM 11487 2318 deflated
TRYSTD.ASM 5054 1264 deflated

Download File N7V11.ZIP Here

Contents of the COMPARE.DOC file



COMPARE
Command

Michael J. Mefford 1988 No. 11
(Utilities)


Purpose:Displays the differences between two text or two
binary files. Files need not be the same length, and paragraph reformatting changes introduced by word wrap are ignored.

Format:COMPARE filespec filespec[/B][/W]

Remarks: COMPARE's default assumption is that the filenames designated in
filespec are to be compared as ASCII text files. Formatting commands
embedded by word processing programs are reproduced on screen but are not
acted upon. Files in which the "high bit" is set (such as those produced by
WordStar's document mode) can be made displayable in ASCII by entering the
optional /W on the command line.

Files are displayed in two on-screen windows. Differences are shown
in inverse video, and are preceeded by several lines of matching text to
provide a context. When the windows are filled, pressing any key continues to
search for differences; pressing Esc returns the user to DOS. All character
modes, but no graphics modes, are supported.

Files with .COM or .EXE extensions are automatically displayed in
COMPARE's binary mode, which is similar to that produced by DEBUG.COM. Unlike
DEBUG, however, COMPARE uses the IBM/ASCII symbol set rather than periods to
show non-alphanumeric characters, and its segment offset begins at zero rather
than at 100h. Any file can be compared in binary mode by adding the optional
/B switch on the command line.

Note:When COMPARE finds a difference between files it searches ahead up to
400 bytes (the reach value) for a string of 10 (excluding spaces) successive
matching characters (the sequence value). DEBUG.COM can be used to change the
reach and search values on a copy of COMPARE.COM thus:

DEBUG COMPARE.COM
E 6ED cd ab
E 6F5 cd ab
E 6F9 gh ef
W
Q

where abcd is the reach value, in hex (default 0190h) and efgh is the
sequence value (default 000Ah).


 December 17, 2017  Add comments

Leave a Reply