Hi, I think that thread variables are automatically initialized to zero. So you just need to use them in such a way that zero is the desired start value.
Cheers, Tobias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal