I was testing out FIXFPT to see how it would handle certain corrupt memo files I have. I found that FIXFPT would detect a bad memo pointer on memo files which had no apparent problem. It consistently found the pointer, calculated from the header file, to be 1 less than what FIXFPT calculated it should be.
Looking at the code it determines that the next free block pointer should be:
NextFreeBlockPt = INT((MemoFileSize/BlockSize)+1)
Is this correct? Or should the correct pointer be just:
INT(MemoFileSize/BlockSize)
or
CEILING(MemoFileSize/BlockSize)
TIA
Ken
P.S. I was trying to find out an answer first by searching the message area but am having problems losing my connection.