C.6.  $world->commandecho

Abstract

$world->commandecho function: sets or gets the status of the COMMAND ECHO feature

void $world->commandecho( boolean );
 

When called with an argument, this sets the command echo option for the current world to the given value (which should be false to cause commands not to be echoed or true to cause them to be echoed). For more details of the command echo option, see Section 4.3, “Input”.

$status = $world->commandecho(void); 
 

When called without arguments, it returns its current value of the command echo option.