From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1d295367cf0b8c48 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail From: Jeffrey Carter User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: loop variant in SPARK ADA References: <1127121942.777976.45330@f14g2000cwb.googlegroups.com> <432ee121$0$2102$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: <432ee121$0$2102$9b4e6d93@newsread2.arcor-online.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 19 Sep 2005 15:22:44 -0700 NNTP-Posting-Host: 147.24.111.90 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.ray.com 1127168564 147.24.111.90 (Mon, 19 Sep 2005 17:22:44 CDT) NNTP-Posting-Date: Mon, 19 Sep 2005 17:22:44 CDT Organization: Raytheon Company Xref: g2news1.google.com comp.lang.ada:4893 Date: 2005-09-19T15:22:44-07:00 List-Id: 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