For Programmers: Free Programming Magazines  


Home > Archive > Cobol > November 2004 > Re: Infinite Loops and Explicit Exits









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Infinite Loops and Explicit Exits
Joe Zitzelberger

2004-11-16, 8:55 pm

In article <cnd447$bee$1@peabody.colorado.edu>,
"Howard Brazee" <howard@brazee.net> wrote:

> On 16-Nov-2004, Joe Zitzelberger <joe_zitzelberger@nospam.com> wrote:
>
>
> I've used a macro-assembler that looked just like BASIC. I see no real
> problem in having a macro-assembler that did this. (Haven't seen one though)


What if "some-sub-routine" doesn't properly finish until point Y? How
is it save to demand an exit at X?

The entire point of subroutines is that they are usable from more than a
single place -- to make the caller intimately aware of the subroutines
exit is to void that benefit.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com