home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / rexx / 951 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.6 KB

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