TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Fri, 20 Mar 1998 12:00:00 -0700
TEXT/PLAIN (22 lines)
There is a way to simulate Continue without using any Goto:

               -- this loop is not a real one.
               -- it is not eexecuted more than once at a time.
               -- Continue
               exit Continue_Loop;
               exit Continue_Loop;
            end loop Continue_Loop;
       end loop Any_Loop;

I agree it is rather ugly, but at least for those that are prohibited from
using Gotos, they can simulate Continue; and the efficiency should be quite

-- Vincent