Re: [Gambas-user] collection syntax difficulty

2009-06-09 Thread richard terry
(element, CString(ElementKey)) > > > > regards > > Ricardo > > > > -Mensaje original- > > De: richard terry > > Reply-to: richard terry , mailing list for gambas > > users > > Para: mailing list for gambas users > > Asunt

Re: [Gambas-user] collection syntax difficulty

2009-06-09 Thread Jussi Lahtinen
to this element. In adition, when you are adding > elements to MyCollection, convert the key to string > (MyCollection.Add(element, CString(ElementKey)) > > regards > Ricardo > > -Mensaje original- > De: richard terry > Reply-to: richard terry , mailing list for gam

Re: [Gambas-user] collection syntax difficulty

2009-06-09 Thread Ricardo Díaz Martín
) regards Ricardo -Mensaje original- De: richard terry Reply-to: richard terry , mailing list for gambas users Para: mailing list for gambas users Asunto: [Gambas-user] collection syntax difficulty Fecha: Tue, 9 Jun 2009 20:39:17 +1000 Gambas DOC: Returns the key of the last read or last

[Gambas-user] collection syntax difficulty

2009-06-09 Thread richard terry
Gambas DOC: Returns the key of the last read or last enumerated element. I'm having problem reading the key of a collection with collection.key. I guess gambas is behaving as gambas says it will, however it would be nice to be able to get the first key in a collection without having to iterate