Hello,
I am a bit of a newbie to Palm Programming and started last month using Code
Warrior 7. Part of what I am doing now involves creating code to read /
write Satellite Forms PDB table databases. I have read about the format of
these files but there is one part I still do not understand. The DB_ITEM
structure for each record in a SatForms PDB is defined as:
typedef struct
{
UInt8 ByteSize;
union
{
struct
{
UInt8 Data[1];
} SmallItem;
struct
{
UInt16 WordSize;
UInt8 Data[1];
} LargeItem;
} u;
} DB_ITEM;
I understand that this represents 4 bytes at the start of each record that
are shared between SmallItem and LargeItem and that the ByteSize byte
determines whether SmallItem or LargeItem is used. But I can't work out what
SmallItem and LargeItem represent and when each is used. And what does
WordSize represent in the LargeItem structure?
Thanks for any help,
Mike Baker
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/