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.
Editreadonly Switch
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Editreadonly (Boolean)
 
     The Editreadonly switch determines if PWB allows you to edit a
     file marked read-only on disk.
 
     Syntax
 
     Editreadonly:{ yes | no }
 
     yes    Allow modification of files that are marked read-only on
            disk.
 
            When PWB attempts to save the modified file, PWB informs
            you that the file is marked read-only. It also prompts you
            to confirm that the command specified by the Readonly
            switch is to be run. If you decline to run the command, PWB
            gives you the opportunity to save the file with a different
            name.
            See: Readonly
 
     no     Disallow modification of read-only files.
 
            For files that cannot be modified, PWB displays the letter
            'R' on the status bar. You can reenable modification of a
            read-only file by using Edit Read Only or the Noedit
            function («noedit»).
            See: Noedit, Edit menu, Read Only
 
     Default
 
     Editreadonly:yes
 
     See
 
     Boolean Switch Syntax Status Bar
                                    -♦-