> For constant data, you can have it stored easliy in the code segment
> if you're using CodeWarrior as your compiler.  You need to add the
> line
> #pragma pcrelconstdata on
> ...

Woo hoo, this is what I'm looking for, I think.

I ran across this article, http://oasis.palm.com/dev/kb/papers/1145.cfm,
which briefly discusses that some compilers allow constant data to be stored
in the code segment.  I do use CW, so this pragma is the way for me to do
that.

> Putting it into a resource is also good.  The way to do this with PilRC
was already posted by Chris.  To do it with Rez in CodeWarrior, read the
article at http://groups.yahoo.com/group/palm-dev-forum/message/39153.

Hm. This looks pretty cool. I'm sure I'll come up with a way to use this
sometime...

Thanks to you both for the helpful advice!

Jeff




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

Reply via email to