Online
Registriert seit: 17. Jul 2005
900 Beiträge
Delphi 11 Alexandria
|
Re: Function Integer
24. Mär 2009, 19:24
Ist Integer() nicht einfach ein Typecast, der dann nur mit Typen wie Pointer, PChar und einigen anderen funktioniert? Sowas kompiliert zumindest bei mir nicht:
Delphi-Quellcode:
var x: double;
i: Integer;
begin
x := 31.22;
i := Integer(x));
end;
Being smart will count for nothing if you don't make the world better. You have to use your smarts to count for something, to serve life, not death.
|