Rebol 程式設計/append
外觀
APPEND series value /only
將值追加到序列尾部並返回序列頭。
APPEND 是一個函式值。
- series -- (型別:序列埠)
- value -- (型別:任何)
- /only -- 將塊值追加為塊
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
] [
insert tail series :value
]
]