[Gambas-user] Something that's been bugging me for a while

Benoît Minisini gambas at ...1...
Tue Feb 23 12:39:58 CET 2010


> Nothing important, but I've always wonder why collections eg the data, then
> the key, but lists get the key then the data? After all, they are both
> collections.
> 
> (here I was just reading in a file line by line to a collection and a
> listview.
> 
>   SampleData.Add(sLineInput, icounter)
>    lvSampleData.Add(icounter, sLineInput)
> 
> regards
> 
> richard
> 

Because ListViews are not collection at all? Or maybe because I wanted to be 
logical in ListView, and wanted to follow the VB syntax for collection? :-)

-- 
Benoît Minisini




More information about the User mailing list