Why this code doesn't work?
When I execute, windows stops it, becouse is probably looped and stoped working.
function revstr(a:string):string;
var out_s:string;
ls,i:integer;
begin
ls:=11;
for i:=1 to ls do
out_s:=out_s+a[ls-i+1];
revstr:=out_s;
end;