langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
11
Task/Caesar-cipher/Vedit-macro-language/caesar-cipher.vedit
Normal file
11
Task/Caesar-cipher/Vedit-macro-language/caesar-cipher.vedit
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#10 = Get_Num("Enter the key: positive to cipher, negative to de-cipher: ", STATLINE)
|
||||
|
||||
Goto_Pos(Block_Begin)
|
||||
while(Cur_Pos < Block_End) {
|
||||
#11 = Cur_Char & 0x60 + 1
|
||||
if (Cur_Char >= 'A') {
|
||||
Ins_Char((Cur_Char - #11 + 26 + #10) % 26 + #11, OVERWRITE)
|
||||
} else {
|
||||
Char(1)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue