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

Benoît Minisini gambas at ...1...
Fri Dec 11 23:54:40 CET 2015


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




More information about the User mailing list