From bug-octave-request at bevo dot che dot wisc dot edu Thu Dec 14 21:16:51 2000 Subject: diary off From: "John W. Eaton" To: Paul Soderlind Cc: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 14 Dec 2000 21:16:11 -0600 On 31-Aug-2000, Paul Soderlind wrote: | I often use diary('filename') to print the results from my script files - | but diary off/on does not seem to work during the | execution of the script, which is a bit annoying (and different from how | MatLab works). | | An example: | | --------------------code starts here--------------------------- | diary('diaryTst.out'); | disp('Hello'); | | diary off; | for i = 1:100; | disp(i); | end; | diary on; | | disp('world'); | diary off; | --------------------code ends here--------------------------- | | | In MatLab this surpresses the printing during the loop; on Octave it | doesn't. Sorry for the long delay. This problem should be fixed in the current CVS sources now. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------