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

  1. Path: sparky!uunet!know!hri.com!spool.mu.edu!darwin.sura.net!paladin.american.edu!auvm!UCSFVM.BITNET!GOMBERG
  2. From: GOMBERG@UCSFVM.BITNET (Dave Gomberg)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: NOVALUE (was: Blanks, REXX, and portability...)
  5. Message-ID: <REXXLIST%92091210585300@UGA.CC.UGA.EDU>
  6. Date: 12 Sep 92 14:58:09 GMT
  7. Sender: REXX Programming discussion list <REXXLIST@UGA.BITNET>
  8. Lines: 15
  9. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  10. In-Reply-To:  Message of Sat,
  11.               12 Sep 1992 06:22:02 GMT from <GILMART@LSTC2VM.STORTEK.COM>
  12.  
  13. On Sat, 12 Sep 1992 06:22:02 GMT Paul Gilmartin said:
  14. >But it would be a real pain if this were reported as an error unless there
  15. >were some way to use explicit constants -- better by far, general expressions
  16. >-- as compound variable indices.  Namely:
  17. >
  18. >   say a.'X'   /* so I don't have to assign 'X' to dummy */
  19. >               /* and even:  */
  20. >   say a.(substr('UVWXYZ',4,1))   /* Why not, haven't you wanted it? */
  21. >
  22. >Is anyone proposing this extremely desirable extension?
  23.  
  24. When the SHARE REXX committee debated this "extension" at great length,
  25. it turned out to be next to impossible to define.  The new VALUE pseudo-
  26. variable solves the problem pretty well (it never was much of a problem
  27. on the right-hand side of an assignment).   Dave
  28.