Actions

EmSys

CCoding Style - Be accurate

From EdWiki

Be accurate

boolean inTable( object obj )
{
   int j = getIndex(obj);
 
   return ( j == nTable );
}

The function getIndex returns a value between zero and (nTable-1) if it finds the object, and returns nTable if not. The boolean value returned by inTable is thus the opposite of what the name implies.