You need to log in to create posts and topics.
Re: STR #
77,940 Posts
#1 · November 11, 1997, 3:31 pm
Quote from Forum Archives on November 11, 1997, 3:31 pmPosted by: rbrown <rbrown@...>
Terrald wrote:
> I am now trying to use the STR # idea for the first time. Could someone
> tell me if there is a limit as to how many elements can be placed in the
> resource.Yes, there is. The first 2 bytes of a STR# resource contain a number
which tells how many strings it contains. So that number can go as high
as 32767 (or maybe even 65535, if the 2 bytes are interpreted as an
unsigned integer).- Rick
Posted by: rbrown <rbrown@...>
Terrald wrote:
> I am now trying to use the STR # idea for the first time. Could someone
> tell me if there is a limit as to how many elements can be placed in the
> resource.
> I am now trying to use the STR # idea for the first time. Could someone
> tell me if there is a limit as to how many elements can be placed in the
> resource.
Yes, there is. The first 2 bytes of a STR# resource contain a number
which tells how many strings it contains. So that number can go as high
as 32767 (or maybe even 65535, if the 2 bytes are interpreted as an
unsigned integer).
- Rick
Click for thumbs down.0Click for thumbs up.0