[Gambas-user] (no subject)

Charlie Reinl Karl.Reinl at ...9...
Tue Mar 31 19:10:44 CEST 2009


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"
..... and so on

or Select Case

or 

If TextBox1.Text = "T" then 
	TextBox2.Text = "T"
Else If TextBox1.Text = "Y" then 
	TextBox2.Text = "I"

......

Endif 

-- 
Amicalment
Charlie
 
 

Am Dienstag, den 31.03.2009, 19:46 +0300 schrieb Jussi Lahtinen:
> I can't say anything about error message, where is the limit etc.
> BUT I highly recommend that you use "select case" instead of "if then else"!
> I think you don't run into problems with select case, and also it is
> easier way...
> 
> 
> Jussi
> 
> 
> 2009/3/31 lol lolovic <tsopanotragi at ...67...>:
> >
> > Hi!First of all many thanks to the developer and everybody that helped to the creation and the now shape of this programming language...
> > It was really was linux missed...
> > Anyway...
> > I have a problem or "bug" at programming with gambas...I really searched and googled to find out how to solve this one but nothing...
> > Also in this e-mail i have a screenhost attached with the "error" tha appears and the source behind...
> > I am quite sure that the problem is not at the code i wrote...the problem is that this error writes me that "there are too many nested control structures".
> > So i guess that the language for some reason doesnt support more than a fixed number of line codes or more than a fixed number of
> > IF THEN ELSE END IF...
> > I really dont no what to do about this...
> > Any reply helpful or not will be really appricieted...:D
> >
> > Here are information about my pc (maybe is my pc's problem...dunno) :
> >
> > * distribution : ubuntu 8.10
> > * kernel linux : 2.6.27-7-generic
> > * gnome : 2.24.1
> > * memory : 2gb
> > * processor : amd athlon 64 (3000+)
> > * gambas version : 2.7
> >
> > thank you in advance
> > and if someone wants to send him my program's code to check out glad to do that
> > and i am greek so a reply from another greek or in greek will be more apprecieted
> > because i will understand the reply even easier :D
> > thank you again
> >
> > _________________________________________________________________
> > Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
> > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
> > ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 






More information about the User mailing list