Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-11 Thread Benoît Minisini
> Make a label on a form: Label1 > > In code, run the following 3 lines: > > Label1.text = "B" > Label1.text = Left$(Label1.text, Len(Label1.Text) - 1) > Label1.text = Left$(Label1.text, 0) > > > Line 2 or line 3 should reduce it to an empty string. > It doesn't > > -Fernando > The bug

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-11 Thread Jussi Lahtinen
Len(s) - 1, "*"; s; "*" ' s is correct: empty string >>Label1.text = s' <-this does not overwrite the 'B' to >> empty. >> >> -Fernando >> >> >> -- Original Message --- >&

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-11 Thread Jussi Lahtinen
> > -Fernando > > > -- Original Message --- > From: "nando" > To: "Benoit" > Sent: Tue, 10 May 2011 22:58:58 -0400 > Subject: [Gambas-user] This Gambas 2 example does not work properly: > > > Make a label on a form: Label1 >

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-11 Thread nando
...@nothingsimple.com, mailing list for gambas users Sent: Wed, 11 May 2011 11:50:50 +0200 Subject: Re: [Gambas-user] This Gambas 2 example does not work properly: > > The problem is setting a zero length string to the label > > For example > > > > > > 'make

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-11 Thread Benoît Minisini
PRINT Len(s) - 1, "*"; s; "*" ' s is correct: empty string > Label1.text = s' <-this does not overwrite the 'B' to > empty. > > -Fernando > > > ------ Original Message ------- > From: "nando"

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-10 Thread nando
' s is correct: empty string Label1.text = s' <-this does not overwrite the 'B' to empty. -Fernando -- Original Message --- From: "nando" To: "Benoit" Sent: Tue, 10 May 2011 22:58:58 -0400 Subject: [Gambas-user] This Gam

[Gambas-user] This Gambas 2 example does not work properly:

2011-05-10 Thread nando
Make a label on a form: Label1 In code, run the following 3 lines: Label1.text = "B" Label1.text = Left$(Label1.text, Len(Label1.Text) - 1) Label1.text = Left$(Label1.text, 0) Line 2 or line 3 should reduce it to an empty string. It doesn't -Fernando