[...] That compiler was obviously
pre-ANSI or something.
K&R C allows . . .
There was enormous variation in C compilers. And there were lots of
programmers that thought that anything that worked for them was therefore
legit. For example, what would you expect from:
(and would you really expect it to behave the same on other compilers?)
N = 1;
A[N++] = N++;
I'd expect that to evaluate to a[1]=2 and n winds up being 3. But I'm weird.
--
------------------------------------ personal:
http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems *
www.floodgap.com * ckaiser at
floodgap.com
-- If I wanted your opinion, I'd have beaten it out of you. -------------------