Thank you everybody! It works now.
Xbury :"But the problem is surely with the usage of the "selectedline" where you should use the hilitedline... For ListBehavior fields, the selectedline doesn't work..." You know, the "selectedline" works here fine by me! Amicalement Fran�ois -------------- Fran�ois Cuneo Site Web d�di� au Macintosh http://www.cuk.ch E-mail: [EMAIL PROTECTED] > De�: Wouter <[EMAIL PROTECTED]> > R�pondre �: How to use Revolution <[EMAIL PROTECTED]> > Date�: Tue, 13 Jan 2004 14:45:45 +0100 > ��: [EMAIL PROTECTED] > Objet�: Re: I don't understand the SWITCH command? > > > On 13 Jan 2004, at 13:58, [EMAIL PROTECTED] wrote: > >> Message: 10 >> Date: Tue, 13 Jan 2004 13:59:54 +0100 >> From: Fran?ois Cuneo <[EMAIL PROTECTED]> >> Subject: I don't understand the SWITCH command? >> To: How to use Revolution <[EMAIL PROTECTED]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="ISO-8859-1" >> >> Hello everybody! >> I have a problem with the "Switch" command. >> Here is my little Code: >> >> on mouseup >> put word 2 of the selectedline of me into nbcalc >> >> switch nbcalc >> >> case 1 >> put 0 into fld "nbcalc" > > break #### otherwise it will fall through to the next case > >> >> case 2 >> >> put 2 into fld "nbcalc" > break ### necessary if a default case is following > >> end switch >> >> end mouseup >> >> It's always the case 2 that's done, even if the nbcalc is 1! >> What's wrong please? >> >> >> Amicalement >> Fran�ois >> >> >> -------------- >> Fran�ois Cuneo >> Site Web d�di� au Macintosh http://www.cuk.ch >> E-mail: [EMAIL PROTECTED] > > > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
