testing for corruption

Kenneth Brody kenbrody at bestweb.net
Wed Feb 6 07:06:08 PST 2008


Quoting Bob Stockler (Wed, 6 Feb 2008 09:58:09 -0500):

> Ken Brody wrote (on Wed, Feb 06, 2008 at 09:22:15AM -0500):
>
> [snip]
> | There aren't too many things guaranteed within the key file (assuming that
> | there is no "corruption", by whatever definition you want to use):
> |
> | 1 - The first byte will always be 0, 1, or 2.
> | 2 - The second byte will always be 0.
> | 3 - Bytes 17 to 20 (assuming 1-relative) will always be 0.
> [snip]
>
> What does first byte == 2 indicate ?

The record is being created.  (ie: it's been removed from the freechain,
but has not yet been saved.)

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list