What am I missing? I'm assuming it's something trivial that I'm just overlooking.
Variables aren't shared when you fork, each fork gets its own copy, so in the children you increment the variable, the parent doesn't know about that, children have their own copy
In reply to Re: No Change in Pre- or Post-Increment Varable
by Anonymous Monk
in thread No Change in Pre- or Post-Increment Varable
by ljamison
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |