[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             WOUTPUT             |
+---------------------------------+
WOUTPUT([<window name>])

-----------------------------------
Returns true if specified window is current output window.
Return value - Character or Logical
-----------------------------------

<window name>
        Name of window.  If output is being directed to the screen, WOUTPUT()
returns the null string.

+---------------------------------+
|         Program Example         |
+---------------------------------+
DEFINE WINDOW screen1 FROM 10,10 TO 20,69 CLOSE FLOAT
DEFINE WINDOW screen2 FROM 0,0 TO 19,79 CLOSE FLOAT
ACTIVATE WINDOW screen1
ACTIVATE WINDOW screen2
* <commands follow that allow user to change output window>
IF WOUTPUT('screen1')
        ? 'Screen 1 is the current output window.'
ELSE
        IF WOUTPUT('screen2')
                ? 'Screen 2 is the current output window.'
        ENDIF
ENDIF

-----------------------------------

See Also:  ACTIVATE WINDOW, DEFINE WINDOW, WEXIST(), WONTOP(),
WVISIBLE()

-----------------------------------

See Also: ACTIVATE WINDOW DEFINE WINDOW WEXIST() WONTOP()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson