Implement it as If scalable[100]!= null Return scalable[100]->getsize() Else Return cpoiny(0,0)