> >DEFINE CLASS Person as Custom > >cName = "" >dBirthdate = {//} >oTime = null >nAge = 0 * because this load a object into the class property, not into the object >oTime = createobject("zaTime") && not possible why???? * correct way ADD OBJECT oTime AS zaTime > >FUNCTION GetAge() > >RETURN this.oTime.PointOfTime - this.dBirthDate > >ENDFUNC > > > >ENDDEFINE > >DEFINE CLASS zaTime as Custom > >m.PointOfTime = DATETIME() > > >ENDDEFINE > > >>