>>>>The SYS(2007) function can create crc16 or crc32 depending on the parameter passed. At most it can return
2^16-1 and 2^32-1 different values respectively. It's quite possible that 2 files can have the same checsum returned by SYS(2007). I would recomend to use one of the Hash algorithm that return longer digest of the file. You can use Craig Boyd's
Vfpencryption.fll to generate MD5 or stronger hash.
>>>>
>>>Wouldn't that be 2^16 and 2^32 ?
>>
>>And it's significant how?
>
>Well, it's wrong
wife: When did you come home last night?
guy: At ten.
wife: The church bell rang only once...
guy: I know the guy who pulls the rope... he never rings the zero.
----
IOW, I guess the sys(2007) never returns "0", and that's the -1.
Wrong - SYS(2007,"",0,1) returns "0", and so does ?SYS(2007,"",-1,1) (which help says is the same anyway, the third parameter is ignored for 32 bit operation). So I'm immediately wrong, but will post this anyway... I never throw away a joke.