[Gambas-user] Class in Variant?

Emil Lenngren emil.lenngren at ...626...
Tue May 22 22:09:31 CEST 2012


Yeah, at the bottom of that file, it says:

__CLASS: // Is it useful for variants ?


2012/5/22 Benoît Minisini <gambas at ...1...>

> Le 22/05/2012 21:59, Emil Lenngren a écrit :
> > Why is it possible to store a Class in a Variant?
> > Like, if you have a class named Class1, you can do this:
> >
> > Dim var1 As Variant = Class1
> >
> > But you can never use var1 after that (until you replace the content)...
> >
> > /Emil
>
> Good question. Apparently I did that intentionally (according to
> 'gbx_value.c'), but I don't remember why...
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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