Thanks for your comments.  I would disagree with the last.  Stream classes
under Windows work a lot differently than PalmOS, forcing basic questions to
arise that wouldn't require answers under a different OS for which different
classes are available.
----- Original Message ----- 
From: "Aaron Ardiri" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Sunday, October 09, 2005 9:19 AM
Subject: Re: Structure of structures


> Thank you very much!  Can anyone answer the second question regarding how
to
> save and load one of these structures of structures?

if you are storing structures directly within structures (ie: not as
pointers),
then you just need to write the contents of the whole structure to a record
in a database.

keep in mind tho; that you only have a limited stack. so, if your structure
gets too large - you may run into local variable/stack issues. this is a
big issue when dealing with embedded systems..

to minimize your "local" variable use, you need to use pointers, and
using pointers can make the loading/saving a little more complex :)
this really isn't a palmos lesson; its a generic C lesson.

you can get a lot of information from your local C books or even
discussion forums. not all palm development is done in C, so; posting
basic C questions to palm-dev-forum isn't really applicable.

--
// Aaron Ardiri

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

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

Reply via email to