From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: loop variant in SPARK ADA
Date: Tue, 20 Sep 2005 10:17:13 +0200
Date: 2005-09-20T10:16:03+02:00 [thread overview]
Message-ID: <432fc542$0$27552$9b4e6d93@newsread4.arcor-online.net> (raw)
In-Reply-To: <USGXe.8$QR.2@dfw-service2.ext.ray.com>
Jeffrey Carter wrote:
> Does this mean you can't write infinite loops in Eiffel?
For sure you can write infinite loops, there is no requirement in the
language that force termination. A variant (or an invariant) need not
be given.
possibly_infinite_loop(eternity: BOOLEAN) is
-- one way to write an infinite loop
do
from until eternity loop
do_it_again
end
end
next prev parent reply other threads:[~2005-09-20 8:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-19 9:25 loop variant in SPARK ADA Constantin Porphyrogenete
2005-09-19 13:23 ` Jacob Sparre Andersen
2005-09-19 15:40 ` Jeffrey Carter
2005-09-19 16:03 ` Georg Bauhaus
2005-09-19 22:22 ` Jeffrey Carter
2005-09-20 8:17 ` Georg Bauhaus [this message]
2005-09-20 17:15 ` Rod Chapman
2005-09-21 2:49 ` Constantin Porphyrogenete
2005-09-21 17:31 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox