[Gambas-user] Collections
Pino Zollo
pinozollo at ...626...
Sat Jan 16 22:02:18 CET 2010
Il sabato 16 gennaio 2010 15:53:11 gambas-user-request at ...625...t
ha scritto:
> The Gambas debugger is fantastic.
Here is attached the evidence that all keys point to the same array.
I have improved previously attached project adding
Lista.Clear
after
CASE 6
and removing INC i from the external
DO WHILE 0 < MyArray.Count ' also changed i to 0
LOOP ' thanks Werner
So it is the filling of Lista that fails....possibly a bug; besides
both
Lista.Add(Parti, myStruc.Value(1))
and
Lista[myStruc.Value(1)] = Parti
Produce the same result.
As I said in a previous append the work-around of joining the two parts of
Parti into a single string such as: Jo = Parti[0] & "~" & Parti[1]
and than recovering with Split(Element, "~")
works perfectly....
...so the problem is just when a String[] is stored into the Collection
What do you think Benoît ?
Thanks for the attention
Pino
--
Key ID: 0xF6768208
Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lista_Collection.png.zip
Type: application/x-zip
Size: 81371 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100116/4d9b19c4/attachment.bin>
More information about the User
mailing list