It would  probably be a good idea to review the addressbook and memopad
sample apps to get a good grounding in using a palm database. They deal with
variable length records and many many other things you will find useful. The
palm os programming bible is another good resource when starting out.

Ralph

"Luc Raymond" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am a new palm os developer.I have a question related to records. I will
be writing a news application and I was thinking about a structure like this
to store my news items:
>
> News
> {
>   headline char(30)
>   description char(300)
>   date uint
> }
>
> If I write the whole structure for each news item, it will waste a lot of
space. Is there an more efficient way to store my information in the palm?
>
> I know I could also create just one variable like newsitem
> which could contains all my information and separate each fields with a
delimiter (like a tab) and write the exact buffer length but since I'm new,
maybe I'm missing something.
>
> thanks a lot
>
> PS: english is not my native language, sorry for any mistakes
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to