Library /sys$common/syshlp/TPUHELP.HLB  —  SET(NO_WRITE)
  SET(NO_WRITE)

  Specifies that, on exiting, no output file is to be created from the
  contents of the buffer (even if it has been modified).  For example, you
  may create paste buffers or "scratchpad" buffers that you do not want
  written out when you exit.

  Syntax

     SET (NO_WRITE, buffer, [{OFF | ON}]

  Parameters

     buffer     The buffer you want to set to no-write.

     OFF        Sets a buffer from no-write to the default state.  When the
                editor exits, the buffer will be written to disk if it has
                been modified.

     ON         Sets a buffer to no-write.  When the editor exits, the
                buffer will NOT be written to disk.

  Examples

  1.  SET (NO_WRITE, paste_buffer);

      Sets the paste buffer to no-write.  When you exit, DECTPU does not try
      to write out this buffer to a file, even if the buffer has been
      modified.  During a session, you can write out the buffer by using
      WRITE_FILE.

  2.  SET (NO_WRITE, my_buffer, OFF);

      Changes the buffer MY_BUFFER from no-write.  On exiting, DECTPU writes
      out this buffer using the output file specification associated with
      the buffer.  If there is no output file specification for the buffer,
      DECTPU prompts you for one.

  Related topics

     EXIT                QUIT           SET(MODIFIABLE)
     SET(OUTPUT_FILE)    SET(SYSTEM)    WRITE_FILE
Close Help