echo

Controls the echoing during their execution.

📝 Syntax

  • state = echo()

  • echo()

  • echo('on')

  • echo('off')

📥 Input argument

  • 'on' - enable echo mode (default)

  • 'off' - disable echo mode

📤 Output argument

  • state - a string: 'on' or 'off'

📄 Description

echo('off') disable echo mode.

Without input and output arguments, echo toggles the current echo state.

💡 Example

an example

R = echo
echo('on')
A = 1+1
echo('off')
A = A+1
echo(R)
A

🔗 See also

disp.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?