> I think both are basically identical, but the work of the first one is > much more clear. I had never used them, but I think the above code is > right, do not ?
Yes. Usually we need this when creating a thread pool, so we know how many threads have been created. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/variables-in-class-class-variables-and-fields-tp3252382p3252858.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal