home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / rexx / 1501 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!uicvm.uic.edu!u35395
  2. Organization: University of Illinois at Chicago
  3. Date: Thu, 21 Jan 1993 15:40:15 CST
  4. From: C. M. Sperberg-McQueen <U35395@uicvm.uic.edu>
  5. Message-ID: <93021.154016U35395@uicvm.uic.edu>
  6. Newsgroups: comp.lang.rexx
  7. Subject: Re: Lower-case alphabetic set
  8. References:  <REXXLIST%93012111161215@UGA.CC.UGA.EDU>
  9. Lines: 16
  10.  
  11. > Since we are back on lowercase, how about:
  12. >
  13. > Lowercase:   /*   Passed a single character  */
  14. > RETURN   D2C(C2D(ARG(1)+C2D('a')-C2D('A'))
  15. >
  16. > This should work correctly for ASCII and EBCDIC and any table where either
  17. > the pattern of lowercase letters is the same as the pattern of uppercase,
  18. > even if the uppercase and lowercase letters are interleaved.
  19.  
  20. Yes, it will.  Unfortunately, this is not the way IBM's country extended
  21. code pages (i.e. the versions of EBCDIC which include more than the
  22. usual 94-character EBCDIC) are arranged.  It's also not always true of
  23. the ISO 8-bit character sets (e.g. ISO 8859-1, 8859-2, etc.)
  24.  
  25. -C. M. Sperberg-McQueen
  26.  University of Illinois at Chicago
  27.