[Gambas-user] (no subject)

Doriano Blengino doriano.blengino at ...1909...
Tue Mar 31 22:23:27 CEST 2009


Charlie Reinl ha scritto:
> Salut, 
>
> you have to close 'If Then Else' by an 'Endif'
> Or you could write :
>
> If TextBox1.Text = "T" then TextBox2.Text = "T"
> If TextBox1.Text = "Y" then TextBox2.Text = "I"
>   
If it is so, then the gambas parser has a problem:

    if textbox1.text="0" then
      ' now a endif is expected...
    else    ' where does this "else" bind to?

...and the message "too many nested control structure" is completely 
misguiding.

Regards,

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."





More information about the User mailing list