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

[REBOL] bug in append ?

From: rotenca:telvia:it at: 1-Jan-2002 20:39

I do not know if this bug (?) is known: append fails in situation like: append 'a/b/c 'd because it does not get the series value with a get-word. It don't know if the evaluation can be useful in other situations, like with ports. The corrected version: append: func [ {Appends a value to the tail of a series and returns the series head.} series [series! port!] value /only "Appends a block value as a block" ][ head either only [ insert/only tail :series :value ;changed series with :series ] [ insert tail :series :value ;changed series with :series ] ] --- Ciao Romano