Thanks for the reply. Very much appreciated. Mr. Smith's method seems to be
very neat and I will try to implement that. I needed the count method because a
virtual List Control that displays the lexicon needs to know number of entries
in advance.
Right now I am getting the count using a slightly
Correction to my post. I should have said idx not dat.
On Apr 21, 2008, at 4:09 PM, DM Smith wrote:
> Troy A. Griffitts wrote:
>> Theoretically, it is not always a good thing for a container object
>> to
>> provide a count method. The problem is more easily seen when
>> thinking
>> about a t
Troy A. Griffitts wrote:
> Theoretically, it is not always a good thing for a container object to
> provide a count method. The problem is more easily seen when thinking
> about a tree container. A count method can traverse the tree to sum all
> nodes, but typically there is no efficient way t
Theoretically, it is not always a good thing for a container object to
provide a count method. The problem is more easily seen when thinking
about a tree container. A count method can traverse the tree to sum all
nodes, but typically there is no efficient way to obtain this
information-- with
Hello,
I was just wondering if you managed to solve your problem. I had the same
question. Thanks,
Jeremy Erickson wrote:
>
> Hi,
> What is the proper way in Sword to quickly determine the number of keys
> in a
> module? Currently in BibleTime we use the following code to determine the