Hvorfor virker det her ikke?
function RGBToHex(R,G,B: integer): string;
begin
Result:= IntToHex(R) + IntToHex(G) + IntToHex(B);
end;
Den siger: There is no overloaded version of 'IntToHex' that can be called with these arguments
Testede også om IntToHex(40) virkede. Får samme fejl.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GED d- s: a--- C++ U? P L+ E? W++ N? o? K- w
O? M? V? PS PE? Y? PGP++ t 5? X+ R tv+ b+ DI? D+
G e-- h! !r y--
------END GEEK CODE BLOCK------
[Redigeret d. 27/09-05 17:24:09 af Jonas (Decko)]