Difference between revisions of "WROWS()"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
Line 30: Line 30:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Screen Windows]]
 
[[Category:Screen Windows]]
 
[[Category:Screen Windows Functions]]
 
[[Category:Screen Windows Functions]]

Latest revision as of 16:56, 8 December 2009

Purpose

Function to return the number of rows in a window


Syntax

WROWS([<window-name>])


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MOVE WINDOW, MODIFY MEMO, 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(), WTITLE(), WVISIBLE()


Description

The WROWS() function returns the number of rows in either the current window, or the window specified by <window-name>. A window is an area of the screen designated for output and input. There is no limit to the number of defined windows. Windows are created with the DEFINE WINDOW command, and are activated with the ACTIVATE WINDOW command. With no parameter, the WROWS() function returns the number of rows in the currently active window. If no windows are active, the WROWS() function returns a zero. If the window <window-name> is specified and does not exist, or is not active, the WROWS() function returns a zero.


Example

define window browse;
  from 2,2 to 12,43;
  title "BROWSE Window";
  color n/bg;
  float;
  shadow
activate window browse
? wrows("browse")
         9


Products

Recital