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