Re: [Gambas-user] Declaring variables in class header without Public/Private is possible...

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 23:48, Moviga Technologies a écrit :
>
>
> I was a bit puzzled to find that my program works fine without Public or
> Private in the variable declarations in the class header.
>
> Are they Public or Private, or is this a bug?

Things are PRIVATE by default, but it was not necessarily a good idea to 
allow that.

Maybe I should remove that, but it's not backward-compatible, so many 
programs will not compile anymore.

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Declaring variables in class header without Public/Private is possible...

2015-12-11 Thread Moviga Technologies
> 
> Things are PRIVATE by default, but it was not necessarily a good idea 
> to
> allow that.
> 
> Maybe I should remove that, but it's not backward-compatible, so many
> programs will not compile anymore.
> 
> Regards,

Thank you!
You could save it for 4.0. Then you are allowed to make more 
backward-incompatible changes :)

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Declaring variables in class header without Public/Private is possible...

2015-12-11 Thread Moviga Technologies
 

I was a bit puzzled to find that my program works fine without Public or
Private in the variable declarations in the class header. 

Are they Public or Private, or is this a bug?  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user