2010/1/16 Pino Zollo <pinozo...@gmail.com>: > The two print statements print exactly the same thing...the Lista.key is > correct and all different, but the > other ( ; Element[1];; " ";; Element[0] ) print always the last element > added to the structure.
First you need to sort out if you have a problem in your debug line. > DEBUG Lista.Count;; Lista[myStruc.Value(1)][1];; " ";; > Lista[myStruc.Value(1)][0] Put a breakpoint on this line: > Disp.DisRes.Text = Disp.DisRes.Text & "~~~~~~~~~" Then inspect myStruc in the IDE. If the inspection of myStruc shows the correct values then what you have in the debug line is wrong. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user