....
I got it from hereThat explanation is bogus. Originally you could omit the *type* from
http://www.di-mgt.com.au/src/korn_ioccc.txt
I have to admit that haven't noticed that this is not really IOCCC web
site at all. Quite possibly the explanation given at that page is
incorrect.
the declaration (it defaulted to int) but you could not omit the complete
declaration, moreover, there should also be a keyword that made it appear
as a declaration. So:
auto unix;
was allowed (it defaulted to int), but plain:
unix;
not, and complete omission also not.
And by the time of that IOCCC omitting the type was also no longer allowed.
It seemed pretty authentic to me and it made sense, at leastThe program as given (with "int unix;" added) did indeed work with Unix
at the first sight. Now I wonder if this can actually work, given the
right OS.
on the VAX.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/