steal your face :-)

cottrell at nbs-vms.ARPA cottrell at nbs-vms.ARPA
Thu Feb 21 07:42:12 AEST 1985


/*
> In article <zinfande.334> berry at zinfandel.UUCP (Berry Kercheval) writes:
> | I would like to see the operator ':-)'.  I'm taking bets on what
> | it will mean (:-)
> 
> I would use it as a unary reverse assertation, so that this:
> 
> 	(a == 0) :-);   /* 'a' should not be zero here, barf if it is */
> 
> would be expanded to the equivalent of:
> 
> 	assert(a != 0); /* 'a' should not be zero here, barf if it is */
> 
> 
> 					    44 61 76 65 32 4C 6F 6E 67

I'd use it to represent the `generic null pointer' I've been so
adamantly arguing for:	funxion(NULL:-)
or howabout a rediculous switch value:	case -1:-) abort();

"Nothin' left to do but :-) :-) :-)"

	4A 69 6D
*/



More information about the Comp.lang.c mailing list