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

[REBOL] Re: "piping" functions

From: gabriele:colellachiara at: 23-Nov-2005 23:44

Hi Graham, On Wednesday, November 23, 2005, 11:41:55 PM, you wrote: GC> "back tail series" returns the series one back from the end GC> so, you should be looking for GC> butlast: func [series][ GC> copy/part series index? back tail series GC> ] Actually, INDEX? is not needed.
>> b: [1 2 3 4]
== [1 2 3 4]
>> copy/part b back tail b
== [1 2 3] Regards, Gabriele. -- Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/