TPUHELP.HLB  —  UPDATE
  UPDATE

     Causes the screen manager to make a window reflect the current state of
     the buffer that is mapped to the window.  The screen manager updates
     windows after each keystroke.  This means that if a key is bound to a
     procedure, several built-ins may be executed before the screen actually
     reflects the internal state of the buffer.  If you want the screen to
     reflect changes before the entire procedure is executed, you can force
     an immediate update by adding an UPDATE statement to the procedure.

  Syntax

     UPDATE ({window | ALL})
  Parameters

     window               The window that you want updated.  The window must
                          be visible for the update to occur.

     ALL                  Specifies that all visible windows are to be
                          updated to reflect the current state of the
                          buffers mapped to them.

  Example

     UPDATE (new_window);

     This statement causes the screen manager to make the new window reflect
     the current internal state of the buffer associated with that window.

  Related Topics

     REFRESH
Close Help