Курсовая работа: Программа для шифрования данных с помощью шифра Тритемиуса
if ord(c1)=13 then begin enter:=false;writeln('Filename is not entered.Please enter');end else
begin
imyafaila:=imyafaila+c1;h:=proverka1(c1);
repeat
c1:=readkey;if (proverka(c1)=true) then begin
if c1=#8 then backspace(imyafaila) else write(c1);
if ((c1<>#8) and (c1<>' ') and (ord(c1)<>13) and (ord(c1)<>27)) then
begin
imyafaila:=imyafaila+c1;
l:=l+1;
end;
end;
until (ord(c1)=13) or (ord(c1)=27) or (l=50);
if ord(c1)<>27 then begin
if (imyafaila=' ') then begin probel:=false;writeln('Filename is not entered.Please enter');end;
if (h=false) then
begin
write('You enter invalid filename with numeral.Press <Enter> and try again');
readln;
end;
if (l=50) then
begin
write('Exceeded the maximum length of string.Press <Enter>');
repeat
c1:=readkey;
until (c1=#13);
end;
assign(f,imyafaila);
{$I-}