Use the Feature Manager to store some data in a feature. It is quick to access, and if I remember correctly, one of the original reasons features were created was to provide a way for hacks to maintain state w/o the overhead of DBs. I've used features to maintain state in hacks, and it works quite well.
Cheers, -DGA > -----Original Message----- > From: Shawn [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 9:55 AM > To: Palm Developer Forum > Subject: storing persistent data in Hack. > > > Hai all, > I am creating a hack ( for SysHandleEvent) to > trace the penup, penmove and pendown event. > But the thing is sincei am unable to use any globals > or static variables i am unable to know what was the > previous event. > 1)In a whole i want to do a particular action > whenever the user selects a word as in selHack. > and i dont want to create a patch for > fldGetSelection. > 2). How to store the previous event in a hack. > > - --Shawn > > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > -- > 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/
