Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Cunning use of [], () & {} in R# and in future? Rebol versions?

From: AJMartin:orcon at: 24-Dec-2003 22:41

Carl Read wrote:
> > Earlier I wrote: > >>> X[2] > >> == "b" > > > It looks like I'm solving problems which not yet exist. > > But it got me thinking anyway, so would this be useful... > > >> blk: ["a" "b" "c" "d" "e"] > == ["a" "b" "c" "d" "e"] > >> blk/[1 4 5] > == ["a" "d" "e"] >> blk: ["a" "b" "c" "d" "e"]
== ["a" "b" "c" "d" "e"]
>> picks blk [1 4 5]
== ["a" "d" "e"] :) Andrew J Martin Grail Jedi ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/