I think these do need to be bracketed, since the "," is already used in the
IF/WHEN instruction and with DO WHILE/UNTIL for the shortcut AND
conditionals.
Ah, but can one not think of those lists as arrays? And maybe even define
them that way.
Square brackets are already used as a message type (primarily with
collection objects), but thankfully, the usage follows the same rules as
builtin functions, so they can be used in both the message form and
paren-like fashion.
(Yes, I use them heavily with stems passed to routines and accessed via Use
Arg.)
Doubling up might work, but it feels somehow "not right" to me.
I agree -- ugly, too.
Mike
-------------------
On Thu, Sep 18, 2014 at 12:49 PM, Mike Cowlishaw <[email protected]>
wrote:
If one didn't want to use up the 'gold' of single brackets ...
first, does one need the brackets at all? I've often thought as commas in
Rexx as being a list notation, in effect, so perhaps:
a=1, 2, 3
or
do x over 23, 34, 45
Or, to save single-square-brackets one could go Wikipedia-like:
a=[[1, 2, 3]]
etc ...
Mike
----------------------------------------------------------------------------
--
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471
<http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktr
k> &iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel