On Oct 2, 2:42 am, Erik Wikström <Erik-wikst...@telia.com> wrote:
> On 2007-10-01 16:28, Angus wrote:
[snip]
> > In my GetValue function I tried:
>
> > value = [3];
>
> > but that doesn't work.
>
> You should use the find() method for a GetValue method since there is no
> guarantee that the key specified exists. Using the [] operator will
> create an entry if it does not exist which is not what you want from a
> GetValue method.
That was exactly the thought I had, which led me to believe
the OP didn't want operator[].
--
Chris Val