REBOL Programming/??

USAGE:Edit

?? 'name 

DESCRIPTION:Edit

Prints a variable name followed by its molded value. (for debugging)

?? is a function value.

ARGUMENTSEdit

  • name -- (Type: any)

SOURCE CODEEdit

??: func [
    {Prints a variable name followed by its molded value. (for debugging)} 
    'name
][
    print either word? :name [head insert tail form name reduce [": " mold name: get name]] [mold :name] 
    :name
]
Last modified on 27 October 2012, at 22:20