Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!STROBL%DBNGMD21.BITNET@wiscvm.wisc.EDU From: STROBL%DBNGMD21.BITNET@wiscvm.wis (Wolfgang Strobl 49+228303223) Newsgroups: comp.lang.c Subject: Re: reserved word entry Message-ID: <9052@brl-adm.ARPA> Date: Fri, 28-Aug-87 16:24:12 EDT Article-I.D.: brl-adm.9052 Posted: Fri Aug 28 16:24:12 1987 Date-Received: Sun, 30-Aug-87 02:09:39 EDT Sender: news@brl-adm.ARPA Lines: 17 > In article <402@root44.co.uk>, jgh@root.co.uk (Jeremy G Harris) writes: > > Does anybody know what the K&R-listed reserved word 'entry' was for? > > Actually, when I saw it, ti looked like a means for an alternate entry point > into a routine. (Yes, I know this violates block structuring...but it's > [somewhat widely] used on 370-architecture mainframes.) > I would like to mention that multiple entry points are an useful feature for implementing abstract datatypes. One implements each access function to a datatype as an entry to the module which implements that datatype. In this respect the concept may violate "block structuring", but it can be used quite "structured", I think. In short: I would like to have it back ;-). Wolfgang Strobl, STROBL@DBNGMD21.BITNET