Re: Nested Repeat loops

2014-06-24 Thread Peter Haworth
Submitted QCC report 12691 for this. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Sat, Jun 21, 2014 at 3:00 PM, Alex Tweedly a...@tweedly.org wrote: On 21/06/2014 15:22,

Re: Nested Repeat loops

2014-06-21 Thread jbv
In some cases I managed to replace repeat for with repeat while and thus eliminating the flag and the test on it since the condition is in the repeat loop itself. jbv Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: repeat

Re: Nested Repeat loops

2014-06-21 Thread Richmond
On 21/06/14 04:34, Dr. Hawkins wrote: On Fri, Jun 20, 2014 at 6:18 PM, Peter Haworth p...@lcsql.com wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: It's a badly needed language addition, and one of the things I want from Fortran

Re: Nested Repeat loops

2014-06-21 Thread John Craig
if the shiftKey is down then throw exit end repeat end repeat end repeat end try end mouseUp On 21/06/2014 02:18, Peter Haworth wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops

Re: Nested Repeat loops

2014-06-21 Thread Peter M. Brigham
On Jun 21, 2014, at 2:33 AM, Richmond wrote: put 1 into XX repeat until XX7 do something put 1 into ZZ repeat until ZZ7 do something else put 1 into YY repeat until YY7 ask What colour are you socks?

Re: Nested Repeat loops

2014-06-21 Thread Richard Gaskin
Peter M. Brigham wrote: On Jun 21, 2014, at 2:33 AM, Richmond wrote: put 1 into XX repeat until XX7 do something put 1 into ZZ repeat until ZZ7 do something else put 1 into YY repeat until YY7 ask What colour are you socks?

Re: Nested Repeat loops

2014-06-21 Thread Peter Haworth
Thanks for all the suggestions. I like the idea of putting the whole nest of repeats in a separate handler as far as the current capabilities of the language, but I really like the idea in Richard's email to have the ability tp name each loop then exit out of a named loop. Is there a QCC report

Re: Nested Repeat loops

2014-06-21 Thread Alex Tweedly
On 21/06/2014 15:22, Richard Gaskin wrote: At the RevLive conference in Vegas a few yeas back, Robert Cailliau's opening keynote covered some of the most adventurous feature requests I've ever heard anyone suggest for xTalks. Among them was the notion of named control structures, in part for

Nested Repeat loops

2014-06-20 Thread Peter Haworth
Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: repeat for... repeat for... repeat for repeat for if . then I want to exit out of the outermost repeat loop here end repeat do

Re: Nested Repeat loops

2014-06-20 Thread Dr. Hawkins
On Fri, Jun 20, 2014 at 6:18 PM, Peter Haworth p...@lcsql.com wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: It's a badly needed language addition, and one of the things I want from Fortran. Then again, I actually used a GOTO

Re: Nested Repeat loops

2014-06-20 Thread J. Landman Gay
I've needed that too occasionally but I've always had to set a flag like you do. We need an exit all repeats command. On June 20, 2014 8:18:59 PM CDT, Peter Haworth p...@lcsql.com wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops

Re: Nested Repeat loops

2014-06-20 Thread Jerry Jensen
do. We need an exit all repeats command. On June 20, 2014 8:18:59 PM CDT, Peter Haworth p...@lcsql.com wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive

Re: Nested Repeat loops

2014-06-20 Thread Warren Samples
On 06/20/2014 08:18 PM, Peter Haworth wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: repeat for... repeat for... repeat for repeat for if . then I want to exit out of the outermost repeat

Re: Nested Repeat loops

2014-06-20 Thread Geoff Canyon
had to set a flag like you do. We need an exit all repeats command. On June 20, 2014 8:18:59 PM CDT, Peter Haworth p...@lcsql.com wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops. -- Jacqueline Landman Gay | jac