Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!uwvax!topaz!bentley!kwh From: kwh@bentley.UUCP (KW Heuer) Newsgroups: net.lang,net.lang.c Subject: Re: structured assembler (BASIC) [Really: C builtin functions?] Message-ID: <706@bentley.UUCP> Date: Fri, 11-Apr-86 10:02:36 EST Article-I.D.: bentley.706 Posted: Fri Apr 11 10:02:36 1986 Date-Received: Sun, 13-Apr-86 07:42:28 EST References: <584@ihdev.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 12 Xref: linus net.lang:2090 net.lang.c:7871 In article <584@ihdev.UUCP> ihdev!pdg (P. D. Guthrie) writes: >... but sizeof qualifies as a builtin function, even though it is a >compile-time function vs run-time. Anyone disagree? Yes, I disagree. The only thing "sizeof" has in common with a "function" (in the C sense) is that it is often written with the argument enclosed in parentheses. (Not always; I've seen "sizeof foo" many times.) It is a function in the mathematical sense, with a domain of "datatype" (though it can also take an expression, which is essentially cast into "datatype"), but I don't think that's what we're talking about here. Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint