> works correct without any DIM at all? Because HowManyUnits is a static function so you don't need to create any instances of CUnit to be able to call that function. Regards, Caveat On Fri, 2012-01-06 at 08:04 -0800, Dmitrij Malkov wrote: > > works correct without any DIM at all?