The easiest way is to use the preferences, as long as your data is relatively small. It's straightforward, store the data on exit and retrieve it on entry. You should be able to find examples if the documentation isn't enough.
--- Tim Kostka "Scott Rock" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm writing an application for PalmOS using Codewarrior. My app needs to > read in about 20 records of data. Each record will have a name string and > a visited boolean variable. When the app starts up, I'd like to read this > data into some sort of linked list. Then as the app iterates through the > list one by one, it needs to set the visited variable to true. The > visited variable is the only data that will be changed. The user will not > have the capability to add/delete the records. > > What is the easiest way to do this? Should I create a pdb database file, > use a text file to read into a list, or hard-code the 20 items into my > program (since they won't be changing)? > > Thanks in advance. > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
