>>This particular checksum gives 65,000 different values, and it is designed so that a change to a single byte will give a different result. Changes in several places in the document should give you a probability of about 1/65,000, or 0.0015%, of a collision.
>
>Thanks a lot Hilmar.
Dragan mentioned, elsewhere on this thread, that there is a new option in Visual FoxPro 9, for the sys(2007) function. This will do a 32-bit checksum, instead of the traditional 16-bit checksum. The probability of a collision in this case should be about 1 / 4000 million.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)