20 Jul
2006
20 Jul
'06
11:24 a.m.
Ge Wang wrote:
To further clarify, the declaration of the static timeEvent @ quarter is inside the class, but the initialization new timeEvent @=> quarter should be outside in this case. Otherwise, quarter gets reinitialized every time the class is instantiated - or quarter never gets initialized if the class is never instantiated.
I only instantiate once (had two cases). It seems to work flawlessly. And I actually don't rely on the event to be initialized before use... -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions