Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Mark Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     The Mark function moves the cursor to a mark or specific location,
     defines marks, and deletes marks.
 
     NOTE: You cannot set a mark at specific text in a PWB window
           such as Help; PWB marks only the window position.
 
     If you want to save marks between sessions, assign a filename to
     the Markfile switch or use the Set Mark File command on the Search
     menu.
     See: Markfile, Search menu, Set Mark File
 
     Mark («mark»)
          Moves the cursor to the beginning of the file.
 
     Arg Mark («arg» «mark»)
          Restores the cursor to its location prior to the last window
          scroll.
 
          TIP: Use Arg Mark to return to your previous location after a
               search or other large jump.
 
     Arg number Mark («arg» number «mark»)
          Moves the cursor to the beginning of the line specified by
          <number> in the current file. Line numbering starts at 1.
 
     Arg <textarg> Mark («arg» <textarg> «mark»)
          Moves the cursor to the specified mark.
 
     Arg Arg <textarg> Mark («arg» «arg» <textarg> «mark»)
          Defines a mark at the cursor position. The name of the mark
          is specified by <textarg>.
 
     Arg Arg <textarg> Meta Mark («arg» «arg» <textarg> «meta» «mark»)
          Deletes the specified mark. This form of the Mark function
          always returns true.
 
     Returns
 
     True:  Move, definition, or deletion successful.
     False: Invalid argument or mark not found.
 
     See
 
     Markfile, Restcur, Savecur, Selcur
                                    -♦-