Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Rot-13/LiveCode/rot-13.livecode
Normal file
8
Task/Rot-13/LiveCode/rot-13.livecode
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function rot13 S
|
||||
repeat with i = 1 to length(S)
|
||||
get chartonum(char i of S)
|
||||
if it < 65 or it > 122 or (it > 90 and it < 97) then next repeat
|
||||
put char it - 64 of "NOPQRSTUVWXYZABCDEFGHIJKLM nopqrstuvwxyzabcdefghijklm" into char i of S
|
||||
end repeat
|
||||
return S
|
||||
end rot13
|
||||
Loading…
Add table
Add a link
Reference in a new issue