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 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://valley.150m.com/ -><- ----- Original Message ----- From: "Lethalman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 18, 2004 1:56 AM Subject: [REBOL] Inverse append > > Is there a function like append but that insert a value at the beginning > of another one? > > c: [] > a: "test 2" > b: [] > append b a > c: join b c > a: "test" > b: [] > append b a > c: join b c > c > == ["test" "test 2"] > > -- > Fyrebird Hosting Provider - Technical Department > > -- > To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject. > > > -- To unsubscribe from the list, just send an email to rebol-request at rebol.com with unsubscribe as the subject.
