NAME

default-wme-depth - Set or list the default print depth

SYNOPSIS

default-wme-depth [depth]

DESCRIPTION

This command sets and prints the default printing depth. If depth is not given, this command prints the default printing depth. If depth is given, it must be a positive integer and is used to reset the default printing depth.

The "default-wme-depth" parameter is used to control the default printing depth of the print command. The default initial setting of the "default-wme-depth" parameter is 1.

EXAMPLES

The command issued with no arguments, returns the print depth:

default-wme-depth 

The next example makes use of Tcl command abbreviation while setting the depth to 3:

def  3 

VARIABLE

Note that the commandname uses dashes to separate the words. There is also a Soar variable "default_wme_depth" (with underscores) that can be used to set the print depth through the the Tcl set command. If depth is not given, the Tcl set commands prints the default printing depth. If depth is given, it must be a positive integer and is used to reset the default printing depth.

set default_wme_depth returns the current depth
set default_wme_depth 3 sets the depth to 3

Soar variables cannot be abbreviated in the same manner as commandnames.

WARNINGS

This parameter can be overridden in any invocation of the print command by using the -depth option.

SEE ALSO

print, variables