Re: COBOL ain't quite dead - yet !



On Wed, 29 Oct 2008 11:27:13 -0600, Howard Brazee <howard@xxxxxxxxxx> wrote:

I have seen

PERFORM AAA THRU AAA-EXIT.

AAA SECTION.
AAA-PARAGRAPH.
...
AAA-EXIT.
EXIT.


I hate that, but apparently it works. When I maintain this,
sometimes I will replace the EXIT. with CONTINUE, when I add debugging
statements.

There is no reason for AAA-PARAGRAPH. The compiler doesn't require it (although the
Standard does) and it is never referenced.

If you MUST have an exit paragraph, call them all THE-EXIT or SECTION-EXIT. References are
automatically qualified with the section in which they appear e.g. GO TO THE-EXIT.
.



Relevant Pages

  • Re: [PATCH RFD] alternative kobject release wait mechanism
    ... exit() routines will have to ... where the driver cannot afford to wait for all the references ... exit routine, but to make things work the routine would have to wait for ... pass an owner to the embedded kobject, but I want to try it out a little ...
    (Linux-Kernel)
  • Re: Linux 2.6.28-rc1
    ... The function reserve_region_with_splitreferences ... fixed by patch in http://lkml.org/lkml/2008/10/12/38 but not yet in mainline ... uses functionality in the exit path. ... The fix is often to remove the __exit annotation of ...
    (Linux-Kernel)
  • Re: MS Access 2000 Automation, cant quit process...
    ... killed automatically on successful exit of the application (but it doesn't ... other references). ... > Dim o As Access.Application ... > Set a breakpoint on the End Sub line. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: I want to write my own profiler
    ... application and wait for the application to exit. ... to see a grid containing 1) fully-qualified method/property name, ... I think you can find out the assembly references and associated method ...
    (microsoft.public.dotnet.languages.csharp)
  • [PATCH 10/46] kbuild: check for section mismatch during modpost stage
    ... Section mismatch is identified as references to .init* ... to .exit.* sections outside .exit sections. ... checks - but note that some .o files are skipped by the perl scripts ...
    (Linux-Kernel)