REBOL Document

Dump-obj - Function Summary


Summary:

Returns a block of information about an object.

Usage:

dump-obj obj

Arguments:

obj - The obj argument. (must be: object)

Refinements:

/match - Include only those that match a string or datatype

pat - The pat argument.

Description:

This function provides an easy way to view the contents of an object. It is an alternative to MOLD and PROBE which may display too much information for deeply structured objects.


    print dump-obj system/error
       throw           object!   [code type no-loop no-function no-catc
h] 
       note            object!   [code type no-load exited] 
       syntax          object!   [code type invalid missing header] 
       script          object!   [code type no-value need-value no-arg 
expect-arg e... 
       math            object!   [code type zero-divide overflow positi
ve] 
       access          object!   [code type cannot-open not-open alread
y-open alrea... 
       command         object!   [code type fmt-too-short fmt-no-struct
-size fmt-no... 
       resv700         none!     none 
       user            object!   [code type message] 
       internal        object!   [code type bad-path not-here stack-ove
rflow global...

Related:

? - Prints information about words and values.
?? - Prints a variable name followed by its molded value. (for debugging)
help - Prints information about words and values.


<Back | Index | Next>

Copyright 2004 REBOL Technologies