"C. E. Steuart Dewar" wrote:
> So the $64,000 question is: is this just a bug in the MemoPad application
> that has survived ALL this time?
I'd say that its a bug in MemoPad. If you look in the MemoPad code you'll see the
following:
*****
if (SaveBackup)
DmArchiveRecord (MemoDB, index);
else
DmDeleteRecord (MemoDB, index);
DmMoveRecord (MemoDB, index, DmNumRecords (MemoDB));
*****
The DmMoveRecord will ensure that a deleted record will be moved to the end (providing
that DmNumRecords is successful, which it
should be).
> Or is the statement that deleted records be
> put at the end of a database a "recommendation" rather than a Palm OS
> "Requirement"?
Moving records to the end of a db is a common practice but certainly not a general
PalmOS requirement. Some applications may
prefer to retain deleted records in-place given that they depend on record numbers in
a given context. Obviously if you move a
record to the end of a db the other record numbers shuffle up.
$64,000 please!
Kind regards,
Christopher
--
Christopher Hunt
Class Action Pty. Ltd.
Complete time zone management for the Palm(tm) connected organizer.
Check out http://www.classactionpl.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html