Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!cmcl2!brl-adm!adm!STROBL%DBNGMD21.BITNET@wiscvm.wisc.EDU From: STROBL%DBNGMD21.BITNET@wiscvm.wisc.EDU Newsgroups: comp.lang.c Subject: Re: reserved word entry Message-ID: <9067@brl-adm.ARPA> Date: Mon, 31-Aug-87 06:48:01 EDT Article-I.D.: brl-adm.9067 Posted: Mon Aug 31 06:48:01 1987 Date-Received: Tue, 1-Sep-87 03:40:07 EDT Sender: news@brl-adm.ARPA Lines: 35 Doug Gwyn writes > In article <9052@brl-adm.ARPA> STROBL%DBNGMD21.BITNET@wiscvm.wis (Wolfgang > Strobl 49+228303223) writes: > >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. > > Excuse me, but "entry" was not implemented in C, so it's not a matter > of "putting it back", nor is an unimplemented (and undefined!) feature > of the language by any means useful for what you suggest or for anything > else. Anyway, your suggestion is already met by normal C function entries; > nothing (except complexity) is gained by multiple function entry points. > > C++ provides much better "package" facilities than straight C and is > worth looking into. Excuse me, but you omitted my final line In short: I would like to have it back ;-). I am aware of the fact that the entry keyword was never specified and implemented. My preceding sentence was thought as joke with a serious core (to spell it out: if there had been an implementation of multiple entry points into C functions, I could think of reasonable uses for it). The joke was marked as such. I have no access to an implementation of C++ (it is difficult enough to get a working version of C on MVS here), so your suggestion is welcome, but hard to follow. Moreover, whe have a quite good SIMULA compiler here, so for object oriented programming a tool is at hand. SIMULA is a general purpose, object oriented language (the first one, I think) based on Algol, which I can recommend to everyone :-). Wolfgang Strobl, STROBL@DBNGMD21.BITNET