angerangel edited this page Jan 7, 2013 · 1 revision

USAGE

   REMOLD value /only /all /flat

DESCRIPTION

Reduces and converts a value to a REBOL-readable string.

REMOLD is a function value.

ARGUMENTS

  • value -- The value to reduce and mold

REFINEMENTS

  • /only -- For a block value, mold only its contents, no outer []
  • /all -- Mold in serialized format
  • /flat -- No indentation

#SOURCE

remold: make function! [  [
    {Reduces and converts a value to a REBOL-readable string.}
    value "The value to reduce and mold"
    /only {For a block value, mold only its contents, no outer []}
    /all "Mold in serialized format"
    /flat "No indentation"
][
    apply :mold [reduce :value only all flat]
] ]
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.