title: is there a command to clear the worksheet from all output? (not using GUI)
body: <p>I use worksheet (not document mode).
  I know one can do  <code>Edit&gt;Remove Output&gt;From Worksheet</code> to "Removes Maple output from all execution groups in a worksheet." </p>
  
  <p>But I could not find a command to do this. I need to do this, since when I run a loop as in</p>
  
  <pre><code>for i from 1 to n do
      some_function();
  od
  </code></pre>
  
  <p>And the function above say prints to the screen (i.e. worksheet currently open) lots of information, then the worksheet slows down and I really also do not want to see the logging from all the calls accumulated any way. I just need to see prints from one iteration only at a time. </p>
  
  <p>(Maple has other problems with having large output accumulate in worksheet also, but this is for another topic).</p>
  
  <p>I'd like to do something like this</p>
  
  <pre><code>for i from 1 to n do
      some_function();
      delete_all_output_in_current_worksheet();
  od;
  </code></pre>
  
  <p>So only one call's output shows up as the <code>some_function</code> is running.</p>
  
  <p>In Matlab, this is easily done using <a href="https://www.mathworks.com/help/matlab/ref/clc.html" rel="nofollow noreferrer">clc</a> which clears the command windows in Matlab.</p>
  
  <p>Is there something like the above in Maple?  </p>
  
  <p>Maple 2018.1 on windows.</p>