[lazarus] "Variant" variable ?

dvortex dvortex at netcourrier.com
Wed Apr 26 14:32:18 EDT 2000


I just found a type "variant" in typinfo as "pointer"

I'm going to get my own class to do this, it will be a little more "clean"
we will see.

Jok
---
Nothing is foolproof to a 
sufficiantly talented fool.

On Wed, 26 Apr 2000, Marc Weustink wrote:

> 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.
> 
> Marc
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
> 






More information about the Lazarus mailing list