Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Languages Misc > Re: Maybe of in...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 27 Topic 1137 of 1256
Post > Topic >>

Re: Maybe of interest to people interested in programming languages?

by "Bartc" <bc@[EMAIL PROTECTED] > May 27, 2008 at 09:40 AM

"Friedrich Dominicus" <just-for-news-frido@[EMAIL PROTECTED]
> wrote
in 
message news:871w3oib2a.fsf@[EMAIL PROTECTED]
> "Bartc" <bc@[EMAIL PROTECTED]
> writes:
>
>> "Friedrich Dominicus" <just-for-news-frido@[EMAIL PROTECTED]
>
wrote 
>> in
>> message news:874p8lxe4f.fsf@[EMAIL PROTECTED]
>>> scholz.lothar@[EMAIL PROTECTED]
 writes:
>>>
>>>> On 23 Mai, 21:37, thomas.mer...@[EMAIL PROTECTED]
 wrote:
>>>>> Speaking about programming language development.
>>>>> Did you look at what other languages do?
>>
>>> But I Seed7
>>> does not have one loop construct with a sliding exit condition.
>>> We could have wrote
>>>
>>> loop until some_exit
>>>
>>> ....
>>> endloop
>>>
>>> loop
>>>        do this
>>>        do that
>>>        be happy
>>> until unhappy
>>>      do something else
>>>      yet somethin gelse
>>> endloop
>>>
>>> or
>>>
>>> loop
>>> xyz
>>> abc
>>> until exit_condition
>>> endloop
>>> so the until is "sliding ;-".
>>
>> That's a weird looking loop. Unless 'until exitcond' is just the same
as 
>> 'if
>> exitcond then break'?

> well what else should it be.

Well it did look odd because you see loop...until... which looks like a 
typical complete loop, especially if the endloop bit is off the screen.

Presumably there is only one 'until...'  in the loop? Then it's not quite 
like 'if ... then break' which allows multiple exits (ignoring the
problems 
of nested loops).

So a bit like Algol68's 'while a; b; c do c; d od' with most (or all) of
the 
loop body before the 'do'.

-- 
Bartc
 




 27 Posts in Topic:
Maybe of interest to people interested in programming languages?
Friedrich Dominicus <j  2008-04-25 08:08:03 
Re: Maybe of interest to people interested in programming langua
Marco <prenom_nomus@[E  2008-05-09 06:23:32 
Re: Maybe of interest to people interested in programming langua
Marco <prenom_nomus@[E  2008-05-09 07:49:46 
Re: Maybe of interest to people interested in programming langua
Friedrich Dominicus <j  2008-05-18 17:30:37 
Re: Maybe of interest to people interested in programming langua
scholz.lothar@[EMAIL PROT  2008-05-22 04:45:01 
Re: Maybe of interest to people interested in programming langua
"Bartc" <bc@  2008-05-24 20:28:55 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-23 07:37:28 
Re: Maybe of interest to people interested in programming langua
scholz.lothar@[EMAIL PROT  2008-05-23 10:36:54 
Re: Maybe of interest to people interested in programming langua
Friedrich Dominicus <j  2008-05-26 17:46:08 
Re: Maybe of interest to people interested in programming langua
"Bartc" <bc@  2008-05-26 20:17:55 
Re: Maybe of interest to people interested in programming langua
Friedrich Dominicus <j  2008-05-27 07:13:33 
Re: Maybe of interest to people interested in programming langua
"Bartc" <bc@  2008-05-27 09:40:47 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-23 12:25:09 
Re: Maybe of interest to people interested in programming langua
scholz.lothar@[EMAIL PROT  2008-05-24 00:34:09 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-24 04:23:50 
Re: Maybe of interest to people interested in programming langua
scholz.lothar@[EMAIL PROT  2008-05-24 05:52:03 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-26 01:20:43 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-26 23:32:51 
Re: Maybe of interest to people interested in programming langua
Friedrich Dominicus <j  2008-05-27 14:00:39 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-26 23:49:31 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-27 07:24:13 
Re: Maybe of interest to people interested in programming langua
Friedrich Dominicus <j  2008-05-30 14:01:17 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-05-30 13:00:26 
Re: Maybe of interest to people interested in programming langua
Friedrich Dominicus <j  2008-05-31 10:57:17 
Re: Maybe of interest to people interested in programming langua
Walter Banks <walter@[  2008-05-31 05:54:04 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-06-02 08:59:07 
Re: Maybe of interest to people interested in programming langua
thomas.mertes@[EMAIL PROT  2008-06-03 04:59:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 23:42:45 CST 2008.