home *** CD-ROM | disk | FTP | other *** search
- {$R-,S-,V-}
- {
- **
- ** CompMem - A routine to compare to areas of memory for equality
- ** by Richard S. Sadowsky [74017,1670]
- ** version 1.0 5/11/88
- ** released to the public domain
- ** requires file MEMCOMP.OBJ to recompile
- **
-
- }
- unit MemComp;
-
- interface
-
- function CompMem(var Block1,Block2; Size : Word) : Word;
- { returns 0 if Block1 and Block2 are equal for Size bytes, otherwise }
- { returns position of first non matching byte }
-
- implementation
-
- function CompMem(var Block1,Block2; Size : Word) : Word; External;
- {$L memcomp.Obj}
-
- end.