Cmp V1.43 11/02/97 What is it? CMP compares two files How to use it? CMP File1 File2 Gulp First the programm compares the lengths of the files if they are not identique the programm stops. Are they, the programm compares he first {gulp} bytes then the next and so on. If the programm found a difference it stops also. {Gulp} are the bytes read in one "gulp" if the gulp is bigger the programm runs faster, but needs more memory. Why another compare? Until yet I only had FCmp V1.2 by Michael Heidler (Hi Mikelos!) then I tried out an arexx script for Dopus with this compare, but ... comparing two files of 1.4MB wasn't finished after 5mins, and that with DynamicCache, two fast HDs and a 68030 with 50MHz.... There must be something wrong. I can realize it better even with MaxonBasic and voilą: The test shows you the comparing of two 622332Bytes big files: Gulp Time (sec.) Time with DynamiCache V1.02 (sec.) ------------------------------------------------------ 512 23.58594 13.97656 1024 13.78906 7.40625 2048 9.816406 4.128906 4096 6.855469 2.554688 8192 4.8125 1.71875 16384 2.902344 .8476563 32768 2.355469 .5898438 65536 1.589844 .46875 131072 1.292969 .421875 256K Error :-( (1) .3828125 512K Error :-( (1) .375 (1) The errors that occured with a gulp superior then 128k are IMO due the HD, because they don't occure with DCache. If you like this prog, have suggestions, found bugs or simply want to see your name in tested on, send me an E-Mail! Author: mweissbe@zen.dedal.net Tested on: A1200 Blizzard 1230-III History V1.0 After a long time of coding and debugging V1.0 was running V1.3 Now with Progressindicator and nice Ansis V1.4 Own error- and Breakroutine V1.41 20.11.96 If no gulp is entered, the program takes value of 1024 bytes V1.42 10.12.96 Error removed for filenames with spaces Put Filenames with spaces in quote marks! V1.43 11.02.97 Recompiled for maximum compatibility