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.
Noedit Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     The Noedit function toggles the no-edit state of PWB or the current
     file. When the no-edit state is turned on, PWB displays the letter
     R on the status bar and disallows modification of the file.
 
     Noedit («noedit»)
          Toggles the no-edit state. If you started PWB with the /R
          (read-only) option, Noedit removes the no-edit limitation.
 
     Meta Noedit («meta» «noedit»)
          Toggles the no-edit state for the current file. This form of
          the Noedit command works only for disk files and has no effect
          on pseudofiles.
 
          If you have the Editreadonly switch set to no, PWB turns on
          the no-edit state for files that are marked read-only on disk.
          This function toggles the no-edit state for the file so that
          you can modify it.
          See: Editreadonly
 
     Returns
 
     True:  File or PWB in no-edit state; modification disallowed.
     False: File or PWB not in no-edit state; modification allowed.
 
     See
 
     Edit menu, Read Only
     Status Bar
                                    -♦-