Re: RES: inexplicable behaviour SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> Thanks for the clarification, Mike. In my ignorance, I was under the
> impression that the right side of the equation was only for the use of
> the left part. How stupid of me. So what I should have been doing was
> $Count1 = $Count + 1; right?
>
$Count = $Count + 1; is exactly(?) same as $Count++;  or ++$Count
But not exactly same.  PostFix notation adds the value after assigning.
PreFix notation adds the value right away.
But optimized programming argues about how machine is coded nowadays.


> Anyway, I don't need that statement anymore as I found the error of my
> ways and have corrected it. And behold, the light came forth and it
> worked. :-)
>

Regards

Lenin

www.twitter.com/nine_L
www.lenin9l.wordpress.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux