For lowercase letters:
NewASCIICode = ((26 + OldASCIICode - Asc("a") + AmountToShift) Mod 26) + Asc("a")
For uppercase letters:
NewASCIICode = ((26 + OldASCIICode - Asc("A") + AmountToShift) Mod 26) + Asc("A")
Would be great if anyone could explain how this is done, I tried googling it, but I just found the code without a proper explanation.

New Topic/Question
Reply



MultiQuote





|