Rebol 程式設計/reduce
外觀
REDUCE value /only words
評估表示式或程式碼塊表示式並返回結果。
REDUCE 是一個原生值。
- 值 -- (型別:任何)
- /only -- 僅評估詞語和路徑,不評估函式
- 詞語 -- 可選的未評估詞語(關鍵字)(型別:程式碼塊 無)
reduce: native[
{Evaluates an expression or block expressions and returns the result.}
value
/only "Only evaluate words and paths, not functions"
words [block! none!] "Optional words that are not evaluated (keywords)"
]