TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

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

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

Print Reply
Jean-Pierre Rosen <[log in to unmask]>
Fri, 20 Mar 1998 17:57:49 +0100
text/plain (11 lines)
>At 06:54 PM 3/19/98 -0600, Randy Brukardt wrote:
>>I think of a block more or less like an if statement, and I don't think in
>>terms of "exiting" such things.  (Loops are special; you have to break the
>>iteration somehow, or you go on forever.)  What you're thinking of is more
>>like "return" to me, but calling it that wouldn't be possible.
>>
But of course, you can replace the block with an (inlined) procedure call, in which you are perfectly allowed to put a "return"...
----------------------------------------------------------------------------
                  J-P. Rosen ([log in to unmask])
      Visit Adalog's web site at http://perso.wanadoo.fr/adalog

ATOM RSS1 RSS2