[Gambas-user] Bug

Caveat Gambas at ...1950...
Fri Aug 26 08:20:32 CEST 2011


Why shouldn't it be legal?  As it stands, it's not good code and it's
certainly not very useful but why should the compiler stop you setting
something to null?  What if there's a line of code between, should it
then be legal?

regards,
Caveat

On Fri, 2011-08-26 at 02:35 +0300, Jussi Lahtinen wrote:
> I think this shouldn't be legal:
> 
> Dim a As New Class1
> a = Null
> 
> But there is no error message.
> 
> Gambas 3 rev 4039 @ Ubuntu 11.04 64bit
> 
> 
> Jussi
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management 
> Up to 160% more powerful than alternatives and 25% more efficient. 
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> 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