Rows (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Screen:Rows subtitle}}
{{Template:Screen:Rows subtitle}}
The <var>Rows</var> [[Classes and Objects#readWrite|readOnly]] property returns the number of rows in the current screen.  This number corresponds to the row value returned by a <var class="product">Model 204</var> <code>VIEW MODEL</code> command.


This read-only property returns the number of rows in the current screen. This number corresponds to the row value returned by a Model 204 VIEW MODEL command.
==Syntax==
{{Template:Screen:Rows syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%number</th>
<td>A numeric variable to contain the number of screen rows.</td></tr>
<tr><th>screen</th>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
</table>


  %num = %screen:Rows
==Examples==
For an example using the <var>Rows</var> method, see [[Screen object sample code|"Screen object sample code"]].


; <font size='3'>Rows syntax</font>
; %num
: A numeric variable to contain the number of screen rows.
; %screen
: A reference to an instance of a Screen object.
==See also==
==See also==
{{Template:Screen:Rows footer}}
{{Template:Screen:Rows footer}}

Latest revision as of 17:07, 19 November 2012

Return the number of rows in the current screen (Screen class)

The Rows readOnly property returns the number of rows in the current screen. This number corresponds to the row value returned by a Model 204 VIEW MODEL command.

Syntax

%number = screen:Rows

Syntax terms

%number A numeric variable to contain the number of screen rows.
screen A reference to an instance of a Screen object.

Examples

For an example using the Rows method, see "Screen object sample code".

See also