comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: loop variant in SPARK ADA
Date: Mon, 19 Sep 2005 15:22:44 -0700
Date: 2005-09-19T15:22:44-07:00	[thread overview]
Message-ID: <USGXe.8$QR.2@dfw-service2.ext.ray.com> (raw)
In-Reply-To: <432ee121$0$2102$9b4e6d93@newsread2.arcor-online.net>

Georg Bauhaus wrote:
> 
> Eiffel does have both an invariant and a variant in its loop,
> 
> from ...
> invariant
>  invariant_name: cond
> variant
>  variant_name: int_var   -- expr >= 0, decreasing
> until cond
> loop
> ...
> end loop

I see. Does this mean you can't write infinite loops in Eiffel?

-- 
Jeffrey Carter
"Now go away or I shall taunt you a second time."
Monty Python and the Holy Grail
E-mail: jeffrey_r_carter-nr [commercial-at]
         raytheon [period | full stop] com



  reply	other threads:[~2005-09-19 22:22 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 [this message]
2005-09-20  8:17       ` Georg Bauhaus
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