CountSubset (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
mNo edit summary
Line 1: Line 1:
{{Template:Arraylist:CountSubset subtitle}}
{{Template:Arraylist:CountSubset subtitle}}


This page is [[under construction]].
This page is [[under construction]].
==Syntax==
==Syntax==
{{Template:Arraylist:CountSubset syntax}}
{{Template:Arraylist:CountSubset syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%count</th><td>number</td></tr>
<tr><th>%count</th>
<td>number</td></tr>
 
<tr><th>al</th>
<tr><th>al</th>
<td>Arraylist object</td></tr>
<td>Arraylist object</td></tr>
<tr><th>selectionCriterion</th>
<tr><th>selectionCriterion</th>
<td><var>SelectionCriterion</var> object</td></tr>
<td><var>SelectionCriterion</var> object</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<li>A <var>CountSubset</var> call with a particular selection criterion is equivalent to a count of the items in the subset returned by the <var>[[SubsetNew (Arraylist function)|SubsetNew]]</var> method.
</ul>
==Examples==
==Examples==
==See also==
==See also==
{{Template:Arraylist:CountSubset footer}}
{{Template:Arraylist:CountSubset footer}}

Revision as of 19:23, 17 July 2012

Number of items matching a criterion (Arraylist class)

[Introduced in Sirius Mods 7.8]



This page is under construction.

Syntax

%count = al:CountSubset( selectionCriterion)

Syntax terms

%count number
al Arraylist object
selectionCriterion SelectionCriterion object

Usage notes

  • A CountSubset call with a particular selection criterion is equivalent to a count of the items in the subset returned by the SubsetNew method.

Examples

See also