Rebol Programming/reduce

USAGE:Edit

REDUCE value /only words 

DESCRIPTION:Edit

Evaluates an expression or block expressions and returns the result.

REDUCE is a native value.

ARGUMENTSEdit

  • value -- (Type: any)

REFINEMENTSEdit

  • /only -- Only evaluate words and paths, not functions
    • words -- Optional words that are not evaluated (keywords) (Type: block none)

SOURCE CODEEdit

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)"
]