PROBE

REBOL Dictionary 2.0


Summary:

Prints a molded, unevaluated value and returns the same value.

Usage:

probe value

Arguments:

value - The value argument.

Description:

Probe is very useful for debugging. Insert it anywhere a value is being passed and it will display the value without interfering with the code.


    probe ["red" "green" "blue"]
    ["red" "green" "blue"]


    if probe now/time > 12:00 [print "now"]
    true
    now

Related:

mold - Converts a value to a REBOL-readable string.
print - Outputs a value followed by a line break.


<Back | Index | Next>

Copyright 2003 REBOL Technologies