[lazarus] "Variant" variable ?

dvortex dvortex at netcourrier.com
Wed Apr 26 13:49:31 EDT 2000

On Wed, 26 Apr 2000, Marc Weustink wrote:

> + From: dvortex [mailto:dvortex at netcourrier.com]
> +
> + That's what i was afraid of :o)
> +
> + well, for the FPC guys: if i put a "record type" together that is a
> + equivalent to the variant, how hard would it be to put that in the fpc
> + compiler ? (it can be usefull, althoug i would understand not
> + wanting to put such a hack in the compiler :o)
> 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...)


More information about the Lazarus mailing list