the 'entry' reserved word
Swamp Thing
mff at wuphys.UUCP
Sat Nov 9 08:18:32 AEST 1985
In article <1643 at uwmacc.UUCP> oyster at uwmacc.UUCP (Vicious Oyster) writes:
>In article <2806 at brl-tgr.ARPA> bilbo.niket at LOCUS.UCLA.EDU (Niket K. Patwardhan) writes:
>>
>>BTW, original K&R C had "entry" defined as a keyword but never told you what
>>to do with it! Look it up, you will find it in the list of reserved keywords!
>
> I've been wondering about that. Seems to me (that's your cue that this is
>*opinion*) that it's more desirable to explicitly declare what can and cannot
>be seen outside a module. This could be done by marking as 'entry' each
>variable or function that can be externally referenced. Now, I'm not about
>to argue with the experience that went into the design of C, but I wonder
>if that wasn't what was originally considered.
>
My guess is that they intended to provide multiple entries into functions, as
in (GASP!) fortran.
Mark F. Flynn
Department of Physics
Washington University
St. Louis, MO 63130
ihnp4!wuphys!mff
------------------------------------------------------------------------------
"There is no dark side of the moon, really.
Matter of fact, it's all dark."
P. Floyd
More information about the Comp.lang.c
mailing list