Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
9
Task/Rot-13/AppleScript/rot-13-2.applescript
Normal file
9
Task/Rot-13/AppleScript/rot-13-2.applescript
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
to rot13(textString)
|
||||
set theIDs to id of textString
|
||||
repeat with thisID in theIDs
|
||||
if (((thisID < 123) and (thisID > 96)) or ((thisID < 91) and (thisID > 64))) then ¬
|
||||
tell (thisID mod 32) to set thisID's contents to thisID - it + (it + 12) mod 26 + 1
|
||||
end repeat
|
||||
|
||||
return string id theIDs
|
||||
end rot13
|
||||
Loading…
Add table
Add a link
Reference in a new issue