Rows (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(8 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==
==Syntax==
{{Template:Screen:Rows syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt>%num
<tr><th>%number</th>
<dd>A numeric variable to contain the number of screen rows.
<td>A numeric variable to contain the number of screen rows.</td></tr>
<dt>%screen  
<tr><th>screen</th>
<dd>A reference to an instance of a Screen object.
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
</dl>
</table>
 
==Examples==
For an example using the <var>Rows</var> method, see [[Screen object sample code|"Screen object sample code"]].
 
==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