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." ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user