You can only really store 4 byte (UInt32) pieces of information in
Features (unless you want to write some extremely hokey storage scheme
that breaks structures down into 4 byte chunks ;) ).
Preferences give you a much more flexible 'chunk of memory' to work
with. They behave like resizeable records.
Not sure how they differ in terms of Hotsync backup though. I know you
can have Saved / Unsaved preferences but are Features always backed up?
Don't know sorry.
Stuart Nicholson
Programmer
Firepad, Inc.
-----Original Message-----
From: Thomas Ward [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 30, 2000 5:19 PM
To: Palm Developer Forum
Subject: Globals in Hacks
Hi,
I've seen various examples of hacks using either preferences or features
to
store "global" data. Are there any reasons to pick one over the other?
What
are their advantages/disadvantages?
TIA,
Tom
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/