From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 10 09:49:19 2003 Subject: Re: how to edit and run a file in octave From: "Mark P. Esplin" To: "Ben Harris" , help-octave@bevo.che.wisc.edu Date: Fri, 10 Jan 2003 10:49:35 -0500 Thanks, That is just the command I was looking for. -Mark On Friday 10 January 2003 09:21 am, you wrote: > Hello Mark, > And I think this is the answer to your question: the keyboard command. > Keyboard pauses the program in progress and offers a command prompt. The > argument to keyboard is the prompt you want to see. So for example you > might insert the following in your .m file > > keyboard ('Debug: ') > > Regards, > Ben ------------------------------------------------------------- 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 -------------------------------------------------------------