home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!decwrl!contessa!mwm
- From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
- Newsgroups: comp.lang.rexx
- Subject: Re: Eric's question
- Message-ID: <mwm.1si9@contessa.palo-alto.ca.us>
- Date: 5 Sep 92 04:19:21 GMT
- References: <ANDERS.92Aug29050537@lise3.lise.unit.no> <1992Aug29.163731.1@sejnet.sunet.se> <ANDERS.92Aug29194248@lise3.lise.unit.no> <1992Aug29.233631.1@sejnet.sunet.se>
- Organization: Missionaria Phonibalonica
- Lines: 40
- X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
-
- In <1992Aug29.233631.1@sejnet.sunet.se>, eric@sejnet.sunet.se (Eric Thomas) wrote:
- > If my space matches a tab, how do I do when I *have* to match a space, and only
- > a space? I suppose I can't. I suppose we are back to the typical unix situation
- > where strings that contain arbitrary characters cannot be manipulated with the
- > standard functions provided by the language, and where you have to implement
- > your own set of routines for such purposes.
-
- If your language implementation is so broken that it can't manipulate
- the strings that occur in your environment, then you should obviously
- use another language.
-
- In <ANDERS.92Aug29194248@lise3.lise.unit.no>, anders@lise3.lise.unit.no (Anders Christensen) wrote:
- > If you move to Unix machine, then you want to write the rexx script
- > from scratch (that's how I understand your 'No'). Then you should use a
- > dataformat more suitable for the Unix environment.
-
- Of course, you may not have that option, in which case the solution is
- to choose a better language. That may be a better solution in even if
- you can change the data format.
-
- And this is the point. If the language is defined in such a way that
- it can't deal with strings in some environment, then it won't be used
- in that environment. In this case, "that environment" includes the
- majority of the platforms in the world. Hopefully, things can be left
- so that the minority of platforms that Rexx originated on can go about
- their business without noticing things.
-
- Once again, C has a similar situation. Several standard practices on
- DEC Unix boxes are defined to have "undefined behavior". That's
- because those behaviors can't reliable be implemented on other popular
- platforms. All the standard did was declare the world to be as it is.
- This didn't make people writing code on those boxes change their
- behavior (even though some of them thought it did), all it did was
- make it obvious that they were writing non-portable code. Which they
- would have known if they'd ever tried to port their code.
-
- There should be an analagous solution in the Rexx world; hopefully one
- that won't be so badly misunderstood.
-
- <mike
-