var
li_index:integer;
i : integer;
li_asc:integer;
ls_tmp:string;
lc_char: char;
begin
ls_tmp:='';
li_index := 0 ;
for i := 1 to Length(edit1.Text) do
begin
li_asc := 255-ord(edit1.text[i]);
ls_tmp := Trimright(ls_tmp) + IntToStr(li_asc);
end;
result:=ls_tmp;
end;