Hallo,
ein Variant ist noch viel mehr wie nur ein Datentyp. Ab Delphi 6 besteht damit auch die Möglichkeit von Operatorüberladung... Da gehen dann (man staune

) sogar so Berechnungen wie
Delphi-Quellcode:
c1 := VarComplexCreate('1+2i') ;
c2 := VarComplexCreate(3-4i) ;
c := c1 * c2 ; // -> liefert dir 11 + 2i
Ist das nicht toll 8)
Gruß