home *** CD-ROM | disk | FTP | other *** search
- Program Encode;
- Var
- Infile,Outfile:text;
- Tempbuf:string[80];
- I:integer;
- Begin
- if paramstr(1)='?' then
- begin
- writeln('Official Greeker Encryption Program');
- Writeln('Copyright 1992 PhrooTechnologies');
- Writeln('syntax is ENGREEK: <infile> <outfile>');
- Halt;
- end;
- Assign(infile,paramstr(1));
- reset(infile);
- Assign(outfile,paramstr(2));
- rewrite(outfile);
- repeat
- Readln(infile,tempbuf);
- for I:=1 to length(tempbuf) do
- write(outfile,chr(ord(upcase(tempbuf[I]))-65+224));
- writeln(outfile);
- until eof(infile);
- close(outfile);
- close(infile);
- end.