[Gambas-user] Collection puzzle.

Fabien Bodard gambas.fr at ...626...
Sat Sep 7 14:23:09 CEST 2013


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 collection

For each cVal in cCol
For Each cVal2 in cVal

Print cVal.Key & " -> " & cVal2.Key

next
next




2013/9/7 Benoît Minisini <gambas at ...1...>

> 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" <
> gambas at ...1...>
> > 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? Sorry if I don't understand.
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard



More information about the User mailing list