[Gambas-user] Collection puzzle.

Ron ron at ...1740...
Sat Sep 7 15:29:24 CEST 2013


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" <gambas.fr at ...626...> het
volgende:

> 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
>
> ------------------------------------------------------------------------------
> 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
>



More information about the User mailing list