Hi,
I think I found an error in the FPC documentation. It's about that command "CompareMem" from the Sysutils unit. The doc says that it should give back an integer result, but the compiler seems to expect a boolean?!?
Btw: Is there a function that compares two memory areas (e.g. a small pattern within a huge buffer) and gives back the position where the pattern is found? Would be very handy if so.
Cheers,
Chris
