Rebol Programming/ajoin

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

AJOIN block 

DESCRIPTION:[edit | edit source]

Reduces and joins a block of values into a new string.

AJOIN is a function value.

ARGUMENTS[edit | edit source]

  • block -- (Type: block)

(SPECIAL ATTRIBUTES)[edit | edit source]

  • throw

SOURCE CODE[edit | edit source]

ajoin: func [
    {Reduces and joins a block of values into a new string.} 
    [throw] 
    block [block!]
][
    make string! reduce block
]