[lazarus] "Variant" variable ?

Marc Weustink weus at quicknet.nl
Wed Apr 26 14:13:15 EDT 2000

At 10:51 26-04-2000 -0700, dvortex wrote:

>On Wed, 26 Apr 2000, Marc Weustink wrote:
> > A variant is just a TVarData. The compiler puts type checking/conversion
> > stuff around it. I can imagine that you don't want to put this in a
> > compiler. (Let the developer put some code around it).
> >
> > You can also use the good old TVarRec
> >
>Where can i get some info on that (i've been trying to scroll though the
>docs, but can't find much...)

There isn't much. If you realy want to use Variants declare them as 
TVarData. Assign them trought the Vxx members and set the type.


More information about the Lazarus mailing list