angerangel edited this page Jan 7, 2013 · 1 revision

USAGE

   REDUCE value /no-set /only words /into out

DESCRIPTION

Evaluates expressions and returns multiple results.

REDUCE is a native value.

ARGUMENTS

  • value

REFINEMENTS

  • /no-set -- Keep set-words as-is. Do not set them.
  • /only -- Only evaluate words and paths, not functions
    • words -- Optional words that are not evaluated (keywords) (block! none!)
  • /into -- Output results into a block with no intermediate storage
    • out (any-block!)

#SOURCE

reduce: make native! [  [
    {Evaluates expressions and returns multiple results.}
    value
    /no-set "Keep set-words as-is. Do not set them."
    /only "Only evaluate words and paths, not functions"
    words [block! none!] "Optional words that are not evaluated (keywords)"
    /into {Output results into a block with no intermediate storage}
    out [any-block!]
] ]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.