home *** CD-ROM | disk | FTP | other *** search
/ Shareware Gold 1 / The_Golden_ROM_Series_-_Shareware_Gold_Volume_1_Number_11_-_SK_89-301_-_1989.iso / BBS / LIB017.ARC / LOCATE.HLP < prev    next >
Text File  |  1986-10-01  |  3KB  |  81 lines

  1.                                 LOCATE (FIND)
  2.  
  3.     To locate a string of characters in your text area you must move the
  4.     cursor to the Command Line (press Esc if it is not already there),
  5.     type the LOCATE command, and then press Enter or F10.  If you press
  6.     Enter, the string will be located but the cursor will remain in the
  7.     text area.  If you press F10, the string will be located and the
  8.     cursor will be moved to the string in the text area.
  9.  
  10.     You may locate strings either toward the end of the file or toward the
  11.     beginning of the file.
  12.  
  13.     You may define your search to be either case sensitive (in which case
  14.     only exact matches will be found) or case insensitive (in which case
  15.     no distinction will be made between abc and aBC).
  16.  
  17.     You may define your search to distinguish between "the" and "their".
  18.  
  19.                               Press the PgDn Key
  20.  
  21.     The general form of the case insensitive locate command is:
  22.  
  23.                                      /str
  24.  
  25.     This will find "str" anywhere in the file beginning one character
  26.     position past the current text position and moving in the direction
  27.     toward the end of the file.
  28.  
  29.     To find the same string toward the beginning of the file you would
  30.     enter:
  31.  
  32.                                     -/str
  33.  
  34.     In both of the examples shown, no distinction will be made between
  35.     upper and lower case, so if you want to find "the", you will find
  36.     "the", "The", "THE", etc.
  37.  
  38.  
  39.                               Press the PgDn Key
  40.  
  41.     The general form of the case sensitive locate command is:
  42.  
  43.                                      \str
  44.  
  45.     This will find "str" anywhere in the file beginning one character
  46.     position past the current text position and moving in the direction
  47.     toward the end of the file.
  48.  
  49.     To find the same string toward the beginning of the file you would
  50.     enter:
  51.  
  52.                                     -\str
  53.  
  54.     In both of the examples shown, a distinction will be made between
  55.     upper and lower case, so if you want to find "the", you will find
  56.     only "the", and not "The", or "THE", etc.
  57.  
  58.  
  59.                               Press the PgDn Key
  60.  
  61.                    Differentiating Between "the" and "their"
  62.  
  63.     If you want to find all the "the"s, but do not want to find any
  64.     "their"s, "then"s, etc., all you need to do is add another slash at
  65.     the end of your locate command (the slash should be in the same
  66.     direction as the beginning slash) as shown below:
  67.  
  68.                              │     Case        │       Case       │
  69.                              │  Insensitive    │     Sensitive    │
  70.     ─────────────────────────┼─────────────────┼──────────────────┤
  71.     Toward end       of file │     /the /      │       \the \     │
  72.     Toward beginning of file │    -/the /      │      -\the \     │
  73.  
  74.     In this case, because a space is included at the end, "their" etc.
  75.     will not match.  This form has the disadvantage that if you are on the
  76.     far right boundary of your line, there will be no space character and
  77.     hence you could miss a "the".  Experiment with locate on the word
  78.     "the" in this file.
  79.                      Press F4 to Return to the HELP Menu
  80.  
  81.