Andrei Alexandrescu wrote: > Ellery Newcomer wrote: >> Andrei Alexandrescu wrote: >>> Ellery Newcomer wrote: >>>> Andrei Alexandrescu wrote: >>>>> It's a rough rough draft, but one for the full chapter on arrays, >>>>> associative arrays, and strings. >>>>> >>>>> http://erdani.com/d/thermopylae.pdf >>>>> >>>>> Any feedback is welcome. Thanks! >>>>> >>>>> >>>>> Andrei >>>> Maybe I haven't been paying attention lately, but shouldn't >>>> >>>> assert(x == 0) >>>> >>>> be >>>> >>>> assert(x[] == 0) >>>> >>>> ? >>> Where does the former occur? >>> >>> Thanks, >>> >>> Andrei >> >> top of page 102 > > Thanks. Notice that x is an integer because it was fetched as array[5]. > > Andrei
Oh wow. I'm dyslexic.