Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,13 +1,13 @@
|
|||
Caesar(string, n){
|
||||
Loop Parse, string
|
||||
{
|
||||
If (Asc(A_LoopField) >= Asc("A") and Asc(A_LoopField) <= Asc("Z"))
|
||||
out .= Chr(Mod(Asc(A_LoopField)-Asc("A")+n,26)+Asc("A"))
|
||||
Else If (Asc(A_LoopField) >= Asc("a") and Asc(A_LoopField) <= Asc("z"))
|
||||
out .= Chr(Mod(Asc(A_LoopField)-Asc("a")+n,26)+Asc("a"))
|
||||
Else out .= A_LoopField
|
||||
}
|
||||
return out
|
||||
Loop Parse, string
|
||||
{
|
||||
If (Asc(A_LoopField) >= Asc("A") and Asc(A_LoopField) <= Asc("Z"))
|
||||
out .= Chr(Mod(Asc(A_LoopField)-Asc("A")+n,26)+Asc("A"))
|
||||
Else If (Asc(A_LoopField) >= Asc("a") and Asc(A_LoopField) <= Asc("z"))
|
||||
out .= Chr(Mod(Asc(A_LoopField)-Asc("a")+n,26)+Asc("a"))
|
||||
Else out .= A_LoopField
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
MsgBox % Caesar("h i", 2) "`n" Caesar("Hi", 20)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue