home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!DKNKURZ1.BITNET!RZOTTO
- X-Acknowledge-To: <RZOTTO@DKNKURZ1>
- Message-ID: <REXXLIST%92090916473059@DEARN>
- Newsgroups: comp.lang.rexx
- Date: Wed, 9 Sep 1992 16:24:18 MEZ
- Sender: REXX Programming discussion list <REXXLIST@UGA.BITNET>
- From: Otto Stolz <RZOTTO@DKNKURZ1.BITNET>
- Subject: Re: Blanks, REXX, and portability...
- In-Reply-To: Message of Tue, 8 Sep 92 18:15:52 GMT from <zjlc12@HOU.AMOCO.COM>
- Lines: 37
-
- On Tue, 8 Sep 92 18:15:52 GMT Jerry Campbell said:
- > [...] since there is so much controversy regarding this issue I'd
- > think that would be a clear sign that it should be left alone. The
- > programmer should worry about this white space vs. "real" blanks thing.
-
- I think much of the controversy is arising from contributors not being
- aware what was actually proposed (including Jerry, I am sorry to say).
- In any case, a programming language standard simply *cannot* choose to
- leave a controversal issue alone -- on the contrary: the sole purpose
- of a standard is to settle controversies of this sort (viz. how a
- particular feature has to be understood and implemented). As TRL is based
- on a faulty assumption (only in this regard), the standard simply
- *cannot* incorporate its wording unaltered, or without any consideration.
-
- > What if, I really, really did want to discriminately parse blanks as
- > opposed to tabs? Take a Rexx program that wanted to convert tabs to
- > real blanks or vice versa? [...]
-
- In this case you would not want to parse your data into words, will you?
- Hence, the whole discussion simply does not apply to this case. You
- would use positional parsing, or the SUBSTR function, or whatever
- character-oriented (as opposed to word-oriented) operation you deem
- appropriate to get at the pieces of your data; and you would be well
- adviced to use strict comparison operators (even in the CMS implement-
- ation, to be sure your program can distinguish zero blanks from one
- blank).
-
- > Please, don't build "intelligent" second guessing Rexx inter-
- > preters.....! Or standards.
-
- Agreed! But this guideline does not preclude intelligent (without
- quotes!), consistent, standrad-conforming, and usable interpreters.
- Or standards. That's what I think I have proposed, btw.
-
- Happy programming,
- Otto Stolz <RZOTTO@DKNKURZ1.Bitnet>
- <RZOTTO@nyx.uni-konstanz.de>
-