> From: George Aslanis
>
> What is the difference between const data or adding strings to a
> resource as far as performance is concerned?
>
Obviously, it takes a little more code to extract the strings from a
resource, so there is a tiny performance hit. But it can't be that big
because your app's resources are in memory so there's no big hit like you'd
get when reading from a file on a disk drive.
>
> Is there a way to cut & paste into a resource? Will we pay any memory
> penalties or violate some standard doing it this way?
>
You can define your resource (e.g. STRINGLIST) in an .r file, which is a
text file you can easily paste strings into, and add that to your project.
See the forum archives for instructions on adding an .r file to your
project.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/