[Gambas-user] for each get Key?

smiefert at ...784... smiefert at ...784...
Thu Nov 22 14:13:52 CET 2007


when i have a collection and i try it on a dor each like this

for each element in myCollection
 print element
next

i get the value  but how can i get the key of this element  . for example the red in this

mycollection["red"] = 2



More information about the User mailing list