7.0;pw (pad_write) *DM*, revision 7.0, 83/08/16 PW (PAD_WRITE) -- Update edit file while maintaining edit pad unchanged. usage: pw FORMAT PW The PW command updates a file that is being edited. It is valid only for writable edit pads. The first time you issue PW, the DM writes the contents of the edit pad to the file that is being edited, without closing the edit pad. The previous contents of the file are saved in a file with the same name and the added suffix .BAK. Subsequent PW or WC (WINDOW_CLOSE) commands rewrite the new file and leave the .BAK version of the file unchanged. For details on the WC command, type HELP WC. PW is similar to WC with two exceptions. First, PW leaves the edit pad open. Second, PW writes the new version of the file even if other windows are viewing the edit pad. PW is useful if, for example, you want to try compiling a program you are editing. If you decide to make additional changes to the program, you can just go back to the edit pad and continue editing, since updates made by PW leave the edit pad open and active. The <SAVE> key on keyboard 2 invokes the PW command. There is no predefined key on keyboard 1 that provides a similar function, although PW is executed along with other DM commands by the CTRL/Y sequence. Type HELP DM KEYS for details. The PW command requires no arguments or options.