Wiem że nie bardzo Delphi, ale też Pascal. :)
Więc. Otwieram kodzik z Delphi i mam takie coś
Error: Incompatible types: got "Constant String" expected "Char"
przy kodzie
function asd( c:char):char;
begin
if c='ł' then result:='Ł';
end;
a przy casie
Error: Constant and CASE types do not match
przy kodzie
case c of
'a': result:=1;
...
end;