Difference between revisions of "SET WINDOW OF ERROR"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 4: Line 4:
  
 
==Syntax==
 
==Syntax==
SET WINDOW OF ERROR [IN <alias>] TO <window-name>
+
SET WINDOW OF ERROR TO <window-name>
  
  
Line 12: Line 12:
  
 
==Description==
 
==Description==
The SET WINDOW OF APPEND command designates a pre-defined window to display a default appending work surface when the APPEND command is invoked.  A window is an area of the screen designated for output and input.  Windows are defined with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command.  There is no limit to the number of windows you may define.  After the SET WINDOW OF APPEND command is issued and APPEND is invoked, a default append work surface will be displayed in <window-name>.  The <window-name> is the name of the window as specified with the DEFINE WINDOW command.
+
The SET WINDOW OF ERROR command designates a pre-defined window to display error information when an error occurs.  A window is an area of the screen designated for output and input.  Windows are defined with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command.  There is no limit to the number of windows you may define.  The <window-name> is the name of the window as specified with the DEFINE WINDOW command.
 
+
The optional qualifier IN <alias> may be used to designate an edit window in another workarea.  If the IN <alias> qualifier is not use, the correct workarea must be selected before issuing the SET WINDOW OF APPEND command.
+
  
  

Revision as of 10:28, 5 March 2010

Purpose

Specify the name of the window to use when displaying error messages


Syntax

SET WINDOW OF ERROR TO <window-name>


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, APPEND, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MODIFY MEMO, MOVE WINDOW, RELEASE WINDOWS, RESIZE WINDOW, RESTORE WINDOW, SAVE WINDOW, SHOW WINDOW, SET COMMANDWINDOW, SET ERRORWINDOW, SET STATUS, SET TRACEWINDOW, SET WINDOW OF EDIT, SET WINDOW OF MEMO, WCOLS(), WEXIST(), WONTOP(), WOUTPUT(), WROWS(), WVISIBLE()


Description

The SET WINDOW OF ERROR command designates a pre-defined window to display error information when an error occurs. A window is an area of the screen designated for output and input. Windows are defined with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command. There is no limit to the number of windows you may define. The <window-name> is the name of the window as specified with the DEFINE WINDOW command.


Example

define window wErro;
  from 1,44 to 21,78;
  title "Error Window"
set window of error to wErro
crash


Products

Recital