views:

440

answers:

1

where is this funtion in Delphi 2010

function Null: Variant;
begin
  _VarNull(TVarData(Result));
end;

in Delphi 6 it was in Variants

+4  A: 

In D2010 it's still in Variants, looking exactly as you described. It's defined on line 112 of Variants.pas.

Mason Wheeler
Very good answer ! I need holidays.
Hugues Van Landeghem
What did you do over the last couple weeks? :P
Mason Wheeler
Perhaps, it's time for me to start coffee
Hugues Van Landeghem