Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net ha scritto: > > Disp.DisRes.Text = Disp.DisRes.Text & "~~~~~~~~~" > > INC i > > LOOP > > ' CBCommand.Clear > > ' CBComm2.Clear > > FOR EACH Element IN Lista > > > > PRINT Lista.Key;; " ";; Lista[Lista.key][1];; " ";; > > Lista[Lista.key][0] PRINT Lista.Key;; " ";; Element[1];; " ";; > > Element[0] > > > > ' SELECT CASE Element[1] > > ' CASE "n:s" > > ' CBCommand.Add(Lista.Key) > > ' CASE "s:n" > > ' CBComm2.Add(Lista.Key) > > ' END SELECT > > NEXT > > ----------------------------------------------------- > > > > > > I look at the code above and wonder abount the first 2 lines. > Say i is 3 and count is 6. When it loops you get the following: > i count > 3 6 > 4 5 > end of loop > because the Pop in the second line reduces count. Is that what you wanted?
Hi Werner, Sorry for the previous wrong "Object".... Yes definitively it takes to eliminate the INC i instruction.... The main problems remains....now the 119th string is always printed: i.e. " A:n Returns the list of methods. " While the first column, the key, is correct. ----------------------- fldigi.version_struct A:n Returns the list of methods. fldigi.version_struct A:n Returns the list of methods. fldigi.name A:n Returns the list of methods. fldigi.name A:n Returns the list of methods. fldigi.list A:n Returns the list of methods. fldigi.list A:n Returns the list of methods. ----------------------- Regards Pino -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net ------------------------------------------------------------------------------ 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