Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!agate!shelby!csli!poser From: poser@csli.Stanford.EDU (Bill Poser) Newsgroups: comp.lang.c Subject: Re: entry at other than main (was want to know) Message-ID: <10147@csli.Stanford.EDU> Date: 19 Aug 89 21:52:01 GMT References: <8487@bsu-cs.bsu.edu> <2980@solo9.cs.vu.nl> <182@sunquest.UUCP> <2563@trantor.harris-atd.com> <19164@mimsy.UUCP> Reply-To: poser@csli.stanford.edu (Bill Poser) Organization: Center for the Study of Language and Information, Stanford U. Lines: 8 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.