home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH05 / A052206.TXT < prev    next >
Encoding:
Text File  |  1993-11-08  |  369 b   |  7 lines

  1. This statement is executed only when the "for" loop has been
  2. exhausted and no name in the PhoneBk object matches the argument
  3. "who".  The "if" statement tests whether or not there is room to
  4. add a new entry to the PhoneBk.  When numEntry equals 100, the
  5. PhoneBk is full.  If this is the case, the insert() function ends,
  6. returning the value 0 to the client code.
  7.