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

[REBOL] Re: Inverse append

From: AJMartin::orcon::net::nz at: 18-Oct-2004 4:31

Lethalman wrote:
> Is there a function like append but that insert a value at the beginning > of another one?
You might also be interested in 'Push: Push: func [ "Inserts a value into a series and returns the series head." Stack [series! port! bitset!] "Series at point to insert." Value [any-type!] /Only "The value to insert." ][ head either Only [ insert/only Stack :Value ][ insert Stack :Value ] ] Together with 'Pop and 'Top, this allows making stacks. --- Andrew Martin ICQ: 26227169