[lazarus] "Variant" variable ?

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Apr 26 14:53:53 EDT 2000




On Wed, 26 Apr 2000, dvortex wrote:

> 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.

Actually, the best and easiest would be to use TVarRec and use overloaded
operators. This can then
1) Be used immediatly.
2) Be inserted in the compiler at a later stage with little effort.

It was on my todo list to start this after we release 1.0, but if you can do the
overloaded stuff already, then this would definitely get used.

Using the overloaded stuff means that all Delphi expressions using variants would work.

Michael.






More information about the Lazarus mailing list