Rebol 编程/repend
外观
< Rebol 编程
REPEND series value /only
将一个简化的值附加到一个序列并返回序列头。
REPEND 是一个函数值。
- series -- (类型:序列端口)
- value -- (类型:任何)
- /only -- 将一个块值作为块附加
repend: func [ {Appends a reduced value to 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 reduce :value ] [ insert tail series reduce :value ] ]