Columns (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (match syntax table to syntax template; edits, tags and links)
m (re-<var>)
Line 6: Line 6:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%number</th>
<tr><th><var>%number</var></th>
<td>A numeric variable to contain the returned number of columns.</td></tr>
<td>A numeric variable to contain the returned number of columns.</td></tr>
<tr><th>screen</th>
<tr><th><var>screen</var></th>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
<td>A reference to an instance of a <var>Screen</var> object.</td></tr>
</table>
</table>

Revision as of 23:56, 25 June 2011

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

The Columns read-only property returns the number of columns in the current screen. This number corresponds to the column value returned by a Model 204 VIEW MODEL command.

Syntax

%number = screen:Columns

Syntax terms

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

See also