Next: dump_lun, Previous: dtdb, Up: Internal Routines [Contents][Index]
dump [, symbol … ] [, /fixed, /system, /zero, /local,
/context, /follow, /full]
Shows info about the given symbol
(s). By default, info on
all named symbols except constants (predefined #name
), system
variables (predefined !name
, and variables local to subroutines
and functions is displayed.
/fixed
display all constants (predefined #name
).
/system
display all system variables (predefined !name
).
/zero
display all new zero-context variables.
/local
display all new local variables.
/context
the argument (symbol
) is the context number whose variables are to
be displayed.
/follow
evaluate the arguments and dump the results. If /follow
is not
specified, then the arguments are not evaluated and the top-level
structure is dumped.
/full
show all elements of multi-element symbols. By default, element lists are truncated.
The displayed information looks something like this:
186 x array , long, # elem. = 3, (3) 187 y string, length: 4, value = 'name'
First comes the symbol number, then the name (if any), the data class,
and then some class-dependent information which generally includes the
size of the variable. In this case, the array x
is of type
long
with 3 elements and a single dimension equal to 3. The
string y
has a length of 4 characters and value
'name'
.
If any pointers (Pointers) are encountered that point at
themselves, then these are silently rendered undefined
instead.
Alias: d
See also: show, dump_stack, atomize