Yvon Thoraval wrote:

>Yvon Thoraval <yvon.thoravalNO-SPAM / free.fr> wrote:
>
>  
>
>>def  doOperand(t, v)
>>    if value  == "ce"
>>        clearField()
>>    else if value == "backspace"
>>        print "backspace()", "\n"
>>    else if value == "on"
>>    
>>
>
>no change when using :
>
>def  doOperand(t, v)
>    if v  == "ce"
>        clearField()
>    else if v == "backspace"
>  
>
what about if you try
          elsif v == "backspace"

elsif is the Ruby way of spelling else if, I assume JRuby is the same

>        print "backspace()", "\n"
>    else if v == "on"
>[...]
>
>  
>
HTH

--
Mark Sparshatt