comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Hierarchical States Machines
Date: Thu, 29 Apr 2004 09:25:40 +0200
Date: 2004-04-29T09:25:40+02:00	[thread overview]
Message-ID: <1649831.NvcpCQcTn1@linux1.krischik.com> (raw)
In-Reply-To: 25OdncWDToOY7Q3dRVn-hQ@megapath.net

Randy Brukardt wrote:

>     loop
>         <bunch of conditions>
>             <Do some processing>
>             if <unusual condition> then
>                   <Handle unusual case>
>                   goto Continue;
>            end if;
>        <bunch of else conditions>
>        end if;
>        <normal processing>;
>      <<continue>> null;
>    end loop;

Is there any deepter reason why you did not use:

     loop
        <<continue>>
         <bunch of conditions>
             <Do some processing>
             if <unusual condition> then
                   <Handle unusual case>
                   goto Continue;
            end if;
        <bunch of else conditions>
        end if;
        <normal processing>;
    end loop;

i.E. A style guide or a RM I am not aware of?

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




  reply	other threads:[~2004-04-29  7:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 18:48 Hierarchical States Machines Fabien
2004-04-28 19:39 ` Marius Amado Alves
2004-04-28 19:57 ` Robert I. Eachus
2004-04-29  3:00   ` Randy Brukardt
2004-04-29  7:25     ` Martin Krischik [this message]
2004-04-29 20:37       ` Randy Brukardt
2004-04-29 12:10   ` Wojtek Narczynski
2004-04-29  3:58 ` Steve
2004-04-29  5:14   ` Robert I. Eachus
2004-04-29  6:36     ` tmoran
2004-04-29 16:36       ` Robert I. Eachus
2004-04-29 15:41   ` Marius Amado Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox