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.
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
Soar variables cannot be abbreviated in the same manner as commandnames.
This parameter can be overridden in any invocation of the print command by using the -depth option.