| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | ... Perl |
Tom Torfs wrote in a message to Sean Dennis: TT> if (c>='a' && c<='z') TT> c = (((c-'a')+13)%26)+'a'; TT> else if (c>='A' && c<='Z') TT> c = (((c-'A')+13)%26)+'A'; This assumes contiguous letters of course. Extension to non-contiguous is fairly obvious (but probably unnecessary for most systems running OS/2). greetings, Tom tomtorfs@village.uunet.be --- timEd/2 1.10.y2k+ 724/10* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516) |
|
| SOURCE: echoes via The OS/2 BBS | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.