| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pl/I |
On Friday, 15 January 1999,
MIKE RUSKAI wrote to IVAN TODOROSKI about Pl/I
MR> [snip]
IT>> But I was wondering if there is some PL/I equivalent to REXX's
IT>> xrange(), so that one could avoid typing the translation tables by
IT>> hand?
IT>> In REXX it would simply be:
IT>> say translate(infile, xrange("A","Z"),
xrange("a","z"))
MR> [snip]
MR> While this works in ASCII and EBCDIC, there's no guarantee that
MR> letters in a code page are assigned in alphabetical order. Simply
MR> typing the alphabet once avoids the potential problem (I'll admit
MR> I don't know of any character set where it is a problem), and it
MR> only needs to be typed once.
Hmmm... haven't thought of this. Good point!
- Ivan -
.!. My other computer is even slower.
--- Terminate 5.00/Pro [OS/2]
þ TerMail/QWK þ
* Origin: GET ALL YOUR FIDO HERE! telnet://bbs.docsplace.org (1:3603/140)SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252 SEEN-BY: 670/218 @PATH: 3603/140 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.