New (MarksStoreArray constructor): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (1 revision) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%marksStoreArray</th><td><var>MarksStoreArray</var> object.</td></tr> | ||
<tr><th>(MarksStoreArray)</th> | <tr><th>(MarksStoreArray)</th> | ||
<td>The class name in parentheses denotes a shared method. New can also be invoked via a MarksStoreArray object variable, which may be null.</td></tr> | <td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method. New can also be invoked via a MarksStoreArray object variable, which may be null.</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
<li>All errors in <var>New</var> result in request cancellation.</ul> | |||
==Examples== | ==Examples== | ||
<ol><li><var>New</var> is a constructor and as such can be called with no object, with an explicit class name, or with an object variable, even if that object is null: | |||
<p class="code">%ma = new | |||
%ma = %(marksStoreArray of string len 1):new | |||
%ma = %ma:new | |||
</p> | |||
</ol> | |||
==See also== | ==See also== | ||
{{Template:MarksStoreArray:New footer}} | {{Template:MarksStoreArray:New footer}} |
Latest revision as of 18:28, 30 November 2011
Create new MarksStoreArray instance (MarksStoreArray class)
Syntax
%marksStoreArray = [%(MarksStoreArray Of itemType):]New
Syntax terms
%marksStoreArray | MarksStoreArray object. |
---|---|
(MarksStoreArray) | The class name in parentheses denotes a shared method. New can also be invoked via a MarksStoreArray object variable, which may be null. |
Usage notes
- All errors in New result in request cancellation.
Examples
- New is a constructor and as such can be called with no object, with an explicit class name, or with an object variable, even if that object is null:
%ma = new %ma = %(marksStoreArray of string len 1):new %ma = %ma:new