Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : SCREENROW

SCREENROW
Returns the number of rows on the user’s physical screen. (F)
Invocation
number = SCREENROW
 
On return, contains the number of rows. Its syntax is B (binary) with length 2. For SDK sessions, the number returned is for internal use only.
Example
The following rule determines the number of rows on the screen and prints it to the message log:

 
SCREENROW_1;
_ LOCAL NUM_ROWS;
_ ------------------------------------------------------------------------
_ ------------------------------------------------------------+-----------
_ NUM_ROWS = SCREENROW; | 1
_ CALL MSGLOG('THE NUMBER OF ROWS ON THE SCREEN IS: ' || | 2
_ NUM_ROWS); |
_ ------------------------------------------------------------------------

 
Resulting Output
Pressing PF2 after executing this rule displays the following message log:

 
----------------------- INFORMATIONAL MESSAGE LOG ---------------------
COMMAND ===> SCROLL ===> P
THE NUMBER OF ROWS ON THE SCREEN IS: 24

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved