Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
Fabian Yes i think thats the way. Will try thanks. Benoit my example was not clear. In my program i cannot access col2 directly. It was only here to create a collection inside the collection col which is the only one I can access. Regards, Ron. Op 7 sep. 2013 14:23 schreef "Fabien Bodard" het

Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Fabien Bodard
you need two loop i your way you see only the key of cCol2 that don't change any more. cVal chow at each the same col... Col2 as each entry of the col container target the same collection... Col2. cCol["1"]->Col2.Key = A cCol["2"]->Col2.Key = A cCol["3"]->Col2.Key = A dim cVal, cVal2 as collect

Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Benoît Minisini
Le 07/09/2013 13:04, Ron a écrit : > I can't display them in any other way. Can you? > Op 7 sep. 2013 12:59 schreef "Benoît Minisini" > het volgende: > What do you want to achieve exactly? Browsing the keys of cCol2? Browsing the keys of cCol1 and then browsing the keys of cCol2 recursively? So

Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
I can't display them in any other way. Can you? Op 7 sep. 2013 12:59 schreef "Benoît Minisini" het volgende: > Le 07/09/2013 12:56, Ron a écrit : > > It doesn't work. > > > > I don't see them with this example. > > Normally this works but not with collection inside collection... > > > > Do you se

Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Benoît Minisini
Le 07/09/2013 12:56, Ron a écrit : > It doesn't work. > > I don't see them with this example. > Normally this works but not with collection inside collection... > > Do you see them when you run example? > > Regards, > Ron. If your code prints "A", "B" and "C", then it works. These are the keys of

Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
It doesn't work. I don't see them with this example. Normally this works but not with collection inside collection... Do you see them when you run example? Regards, Ron. Op 7 sep. 2013 12:54 schreef "Benoît Minisini" het volgende: > > Le 07/09/2013 12:48, Ron a écrit : > > Something eats my tim

Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Benoît Minisini
Le 07/09/2013 12:48, Ron a écrit : > Something eats my time here... > > I have a collection cCol which contains collections cCol2 > The keys of cCol2 are unknown because they come from a JSON.decode function. > > I can't seem to access those keys, anyone has an idea on how to print them? > > So in

[Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
Something eats my time here... I have a collection cCol which contains collections cCol2 The keys of cCol2 are unknown because they come from a JSON.decode function. I can't seem to access those keys, anyone has an idea on how to print them? So in example below, the "1", "2", "6" It seems colle