The paradigm of containers and self-referenced names

Frank D. Engel, Jr. fde101 at fjrhome.net
Wed Mar 23 10:50:22 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> No, in C the meaning of a statement depends only on declarations in 
> the context and its location.

Oh?

#define myFunc(x, y) ((sizeof(x) > sizeof(y)) ? ((x) + (y)) : ((x) * 
(y)))


Now we have what appears to be a function, but which is dependent on 
the data types of the arguments.  This is in plain, ordinary C.  Place 
this in a header file, and given only the body of a C program which 
uses it, we get the same level of confusion.


- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCQZA/7aqtWrR9cZoRAn3pAJwJC4Hy5yf3bBs/OL+mjQbcYOK9zQCaAxRN
RuOaUwYjRP5TLu40VuuRWvg=
=Gm4n
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list