[lazarus] "Variant" variable ?

dvortex dvortex at netcourrier.com
Wed Apr 26 11:23:07 EDT 2000


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)

Ho well.. back hacking... :o)
Jok


On Wed, 26 Apr 2000, Baeseman, Cliff wrote:

> There is no variant type in FPC but as a workaround  you could create a
> record that contains each type and use that as your variant.
> 
> Cliff
> 
> -----Original Message-----
> From: dvortex [mailto:dvortex at netcourrier.com]
> Sent: Wednesday, April 26, 2000 9:32 AM
> To: lazarus at miraclec.com
> Subject: [lazarus] "Variant" variable ?
> 
> 
> 
> Hello.
> I am working on a "object inspector" with the LCL (just to see how far i
> can go). This form/object only check the properties of an object you tell 
> it to "inspect". it is also possible to change the value of a property,
> etc...)
> 
> now, I have some questions:
> I was wondering if there is any kind of "variant" type possible (the type 
> in delphi where you can put anythiing :o) , or even some
> variant array type support with fpc ?
> 
> Thanks
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
> 
> _________________________________________________________________
>      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