Scott Johnson (Bellevue) wrote in message <39963@palm-dev-forum>...
>
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>> Is there a function or procedure to determine how many strings
>> are in a string list? Is a structure of a string list available?
>
>Yes, see UIResDefs.r in SDK 3.5 or higher. The 'tSTL' definition shows
that
>the list starts with a single string followed by an integer giving the
count
>of the following strings. One gotcha is that the count will be misaligned
>if the first string has an odd length, so you may need to fetch the bytes
>separately and combine them.
>
There is a knowledge base article that has sample code to do
just this.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/