From help-octave-request at bevo dot che dot wisc dot edu Thu Jan 27 10:09:50 2000 Subject: Re: Suggestion: add do-enddo(condition) From: Etienne Grossmann To: a dot s dot hodel at eng dot auburn dot edu, jwe@bevo.che.wisc.edu, walter@pctc.chemie.uni-erlangen.de Cc: help-octave at bevo dot che dot wisc dot edu Date: Thu, 27 Jan 2000 16:08:15 GMT Hello, I also missed the original post; the do/enddo or do/while construct indeed would simplify coding in many cases. Etienne ================================================================================ >>>>>> "John" == John W Eaton writes: simpler to write loops for fitting and similar things. > > John> I don't recall seeing any responses to this message, so maybe there > John> are not very many people who have strong feelings about it one way or > John> the other. Is anyone else interested in having this construct > John> available in Octave? > > I have not seen a reply too. But having both kinds of loops can make > the code much cleaner in some cases. And the lack of any reply may > depend on other tools like the always referenced 'matlab' not having > this. I do not know this package, only 'pari/gp' which comes with GPL > (ftp://megrez.math.u-bordeaux.fr/pub/pari) , and the comercial > package 'mupad'. I think I just missed the original post. I've been implementing do x = blah() enddo (condition) with ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------