//break after exit
function CodePageToCodePageName(cp: TSystemCodePage): AnsiString;
..
begin
...
if FoundCp = cp then
begin
Exit(CodePageNames[I].name);
Break;
end;Regards,
Alexey

Mailing lists / lazarus / 2018-05
2 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.