home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / FFB.ZIP / FFHLP.ARC / SEARCH.HLP < prev    next >
Encoding:
Text File  |  1988-01-11  |  561 b   |  17 lines

  1. \ SEARCH.HLP    Some string search and replace routines.
  2.  
  3.  
  4. FOUND           ( --- a1 )
  5.         Result variable, tells if we succeeded in finding what we
  6.         were looking for.
  7.  
  8. SCAN-1ST        ( a n c -- a n )
  9.         Scan for the first occurance of the first character of the
  10.         string we are searching for.
  11.  
  12. SEARCH          ( sadr slen badr blen -- n f )
  13.         Search for string sadr,slen contained in badr,blen. Returns
  14.         f1 equal true if found, and n1 equal to the offset into the
  15.         string where sadr,slen was found.
  16.  
  17.