Collect words

angerangel edited this page Jan 2, 2013 · 1 revision

Table of Contents

USAGE

  COLLECT-WORDS block /deep /set /ignore words

DESCRIPTION

Collect unique words used in a block (used for context construction). COLLECT-WORDS is a native value.

ARGUMENTS

  • block (block!)

REFINEMENTS

  • /deep -- Include nested blocks
  • /set -- Only include set-words
  • /ignore -- Ignore prior words
    • words -- Words to ignore (any-object! block! none!)

SOURCE

collect-words: make native! [  [
    {Collect unique words used in a block (used for context construction).}
    block [block!]
    /deep "Include nested blocks"
    /set "Only include set-words"
    /ignore "Ignore prior words"
    words [any-object! block! none!] "Words to ignore"
] ] 
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.