Function
2010-01-24 01:33:11
Bored as hell messing around in paint.
I don't know if this is an error or just something in my code…
I don't know if this is an error or just something in my code…
program new;
procedure CountColors;
var
x, y, i: integer;
Colors: Array[0..2] of TPointArray;
begin
GetClientDimensions( x, y );
{Line 11} if( FindColors( Colors[ 0 ], 0, 0, 0, x, y ) )then
if( FindColors( Colors[ 1 ], 2366701, 0, 0, x, y ) )then
if( FindColors( Colors[ 2 ], 62207, 0, 0, x, y ) )then
for i := 0 to 2 do
writeln( Length( Colors[ i ] ) );
end;
begin
CountColors;
end. Error: Exception: Any Find Function, you did not pass a correct xe: 1220. at line 11