[Gambas-user] Strange Bug

Charlie Reinl Karl.Reinl at ...9...
Fri Nov 24 14:29:13 CET 2006


Am Donnerstag, den 23.11.2006, 21:09 -0800 schrieb R. Stormo:
> 
> 
> Charlie Reinl wrote:
> > 
> > Salut,
> > 
> > try this. 
> > 
> > The given Form.Titel = 'Test47' will be set if you uncomment the 'Dim j as 
> > Integer =' in class Form1.
> > 
> > Amicalment
> > Charlie
> > 
> > 
> > 
> 
> 
> I think the bug is all yours ;)
> 
Ok, for that. 
Thats not a project, thats a showcase.

But the Bug is that NO ERROR raise,
 when next line ist NOT an empty line
Seams that is read like

DIM j AS Integer = ME.Title = "Test44"

> 
> DIM j AS Integer =
>    ME.Title = "Test44"
> 
If you write like that, an error raise.

DIM j AS Integer =

   ME.Title = "Test44"
> 
> 
> What shall j be set to?
> 
> DIM j AS Integer = 0
>    ME.Title = "Test44"
> 
> or 
> DIM j AS Integer
>    ME.Title = "Test44"
> 
> Then it work a little better.
> 
> 
> 
> Regards Rohnny
>    My Gambas Community http://gambasforum.tk                





More information about the User mailing list