> From: Barry Peet [mailto:barry@;yucat.com]
>     if (p->LastName && FindStrInStr(p->LastName,strToFind))
>         return true;
>     else
>         return false;

Looks like you got the answer in a separate message, but I hope you don't
mind if I contribute a style point.  Why not code it like this?

    return (p->LastName && FindStrInStr(p->LastName, strToFind));

Ahhh, that feels better, doesn't it?  :-)

-slj-


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

Reply via email to