entry at other than main (was want to know)

Bill Poser poser at csli.Stanford.EDU
Sun Aug 20 07:52:01 AEST 1989


Chris Torek says that in Cobol subroutines must be declared before
use but that program execution starts at the top. Does this mean
that you can't use subroutines, or that Cobol allows declarations,
which as non-executable statements can precede the top-level function,
separate from the actual subroutine definitions? If the latter, it
isn't that much different from C for functions returning types other
than int. 



More information about the Comp.lang.c mailing list