
bsh.commands.show.bsh Maven / Gradle / Ivy
/**
Toggle on or off displaying the results of expressions (off by default).
When show mode is on bsh will print() the value returned by each expression
you type on the command line.
*/
bsh.help.show = "usage: show()";
show() {
this.interpreter.setShowResults( !this.interpreter.getShowResults() );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy