[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion: add do-enddo(condition)
From: |
Jack A Walker |
Subject: |
Re: Suggestion: add do-enddo(condition) |
Date: |
Thu, 27 Jan 2000 15:38:56 -0800 |
I like repeat better due to improved visablity for multi-line loops.
Jack
To: address@hidden
cc: (bcc: Jack A Walker/BII)
Subject: Re: Suggestion: add do-enddo(condition)
On 27-Jan-2000, John W. Eaton <address@hidden> wrote:
| So, we are left with two cases [...]
| do ... while (condition) [...]
| do ... until (condition) [...]
| Implementing this would not be hard, if anyone is interested.
OK, since it was relatively easy, I added this to the current
development sources (in the CVS tree now, expect it to show up in a
new bleeding-edge tar file soon).
I'm still open to arguments for using `repeat' instead of `do'.
jwe
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------