home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / rexx / 785 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.8 KB  |  49 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!SERVER.UWINDSOR.CA!OPHOF
  3. X-Mailer: ELM [version 2.3 PL11]
  4. Message-ID: <9208260321.AA05688@SERVER.uwindsor.ca>
  5. Newsgroups: comp.lang.rexx
  6. Date:         Tue, 25 Aug 1992 23:21:29 EDT
  7. Sender:       REXX Programming discussion list <REXXLIST@UGA.BITNET>
  8. From:         Scott Ophof <ophof@SERVER.UWINDSOR.CA>
  9. Subject:      Blanks, REXX, and portability...
  10. Comments: To: REXX Discussion list <REXXLIST@uga.cc.uga.edu>,
  11.               REXX on Unix discussion list <UREXX-L@Liverpool.ac.uk>
  12. Lines: 35
  13.  
  14. Question:  When are blanks not only the space character?
  15. Answer:    In any case in Unix.
  16.  
  17. In "The REXX Language" (Mike Cowlishaw) and most other REXX
  18. publications meant for CMS and equivs, the character known as
  19. "space" and the concept of "blanks" are used interchangeably.
  20.  
  21. For CMS-REXX (and analogous implementations), this poses no
  22. problems.  The space character is the *only* character defined
  23. as a "blank".
  24. (Note that I'm *not* talking about non-printable characters,
  25. and the space char *is* a printable character!)
  26.  
  27. Under Unix however, the tab character (and some others) are
  28. considered "blanks", though it's called "whitespace" there.
  29. At least some REXX implementations for Unix recognize more than
  30. the space char as whitespace.  And REXX on the PC recognizes at
  31. least the space char and the tab char as whitespace/blank...
  32.  
  33. My point?
  34. I would hate to have to port to CMS any REXX program written for
  35. Unix (or PC); to have a program fail due to something like this
  36. would not be very easy to debug...
  37.  
  38. My suggestion?
  39. In the interest of increasing the chance of successful porting, to
  40. request the ANSI-REXX committee to define that the *only* blank/
  41. whitespace recognized in standard REXX is the SPACE character (ASCII
  42. hex-20, EBCDIC hex-40).
  43.  
  44. Your comments?  :-)
  45.  
  46.  
  47. Regards.
  48. $$/
  49.