External Interfaces Previous page   Next Page

Description of Function pb_display

The pb_display function takes an argument entry, which is a phone book entry. After displaying a horizontal line, pb_display calls MATLAB function strtok to extract the first line the entry, up to the line delimiter (^), into t and and the remainder into r. Then, within a while loop that terminates when t is empty, it displays the current line in t. Then it calls strtok to extract the next line from r, into t. When all lines have been displayed, pb_display indicates the end of the entry by displaying another horizontal line.


Previous page  Description of Function pb_listall Description of Function pb_keyfilter Next page

© 1994-2005 The MathWorks, Inc.