> From: maria j�nsson [mailto:[EMAIL PROTECTED]]
>   if(proDb != NULL)
>        delete proDb;

Minor style point to save a few bytes of code: you never need the
"if(p!=NULL)" test when using operator delete.  Assuming it's properly
implemented, operator delete is a safe no-op if passed a null pointer.

(I've used this arcane fact as a job interview question. :-)

-slj-


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to