New (UnknownStatistic constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/>Create new UnknownStatistic instance<section end=dpl_desc/></span>
{{Template:UnknownStatistic:New subtitle}}
[[Category:UnknownStatistic methods|New constructor]]
<p>
<var>New</var> is a member of the <var>[[UnknownStatistic class|UnknownStatistic]]</var> class.
</p>


As shown below, the required argument of the <var>New</var> method is a specific string
As shown below, the required argument of the <var>New</var> method is a specific string
Line 9: Line 5:
for the method that is being called.
for the method that is being called.
==Syntax==
==Syntax==
<p class="syntax">[%unknown =] [%(UnknownStatistic):] New(Name=stat)
{{Template:UnknownStatistic:New syntax}}
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 20: Line 15:


</td></tr></table>
</td></tr></table>
==See also==
{{Template:UnknownStatistic:New footer}}

Revision as of 20:42, 25 March 2011

Create a new UnknownStatistic object (UnknownStatistic class)

As shown below, the required argument of the New method is a specific string value that is not the name of a valid or appropriate Model 204 user statistic for the method that is being called.

Syntax

%unknownStatistic = [%(UnknownStatistic):]New( Name= string)

Syntax terms

%unknown An UnknownStatistic object variable.
Name=stat This name required parameter specifies the string value (stat) that is the name of the statistic for which you are providing the exception.

See also