Aztec C (was: more eBay stuff)

Richard legalize at xmission.com
Fri Jun 1 12:12:00 CDT 2007


In article <20070531162009.F32124 at shell.lmi.net>,
    Fred Cisin <cisin at xenosoft.com>  writes:

> 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 think in this case the result is undefined, but a variable at an
inner scope hiding a variable at an outer scope *is* defined and
should work as advertised.

On the other hand, I'd fire anyone who wrote something like the above.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>


More information about the cctalk mailing list