Versionsvergleich
Aus ProgrammingWiki
Vergleich: 2016-04-07T20:00:24+00:00 → 2016-04-07T20:17:01+00:00
| − | <language>Java</language> |
| + | <language>Pascal</language> |
| + | == Quelltext zur Caesarverschlüsselung in Pascal == |
| + | |
| + | |
| + | <br> |
| + | |
| + | |
| + | |
| + | <run id="4dc8e6c252fe5"> |
| + | l:=length(text); |
| + | vzahl:=int; |
| + | for k:=1 to l do begin |
| + | ascii:=ord (text[k]; |
| + | if (ascii<91) and (ascii>64) |
| + | then begin |
| + | ascii:= ascii+vzahl; |
| + | if ascii > then ascii-26; |
| + | text[k]:= chr(ascii); |
| + | end; |
| + | </run> |
| + | <br> |