New (UnicodeNamedArraylist constructor): Difference between revisions
Jump to navigation
Jump to search
(Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Create new UnicodeNamedArraylist instance<section end=dpl_desc/></b></span> [[Category:UnicodeNamedArraylist...") |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template:UnicodeNamedArraylist:New subtitle}} | |||
This method returns a new instance of a <var>UnicodeNamedArraylist</var> object. | |||
< | |||
</ | |||
==Syntax== | ==Syntax== | ||
{{Template:UnicodeNamedArraylist:New syntax}} | |||
===Syntax Terms=== | ===Syntax Terms=== | ||
< | <table class="syntaxTable"> | ||
< | <tr><th>%uniNal</th> | ||
< | <td>A <var>UnicodeNamedArraylist</var> object variable that is set to a new <var>UnicodeNamedArraylist</var> object reference.</td></tr> | ||
object reference. | <tr><th nowrap="true"><var>[%(UnicodeNamedArraylist Of </var>itemType<var>):]</var></th> | ||
<td>The optional class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See "Usage notes," below, for more information about invoking a collection <var>Constructor</var>.</td></tr> | |||
</ | </table> | ||
==Usage Notes== | ==Usage Notes== | ||
<ul> | <ul> | ||
<li>New | <li>As described in [[Object variables#Using New or other Constructors|"Using New or other Constructors"]], <var>New</var> can be invoked with no object, with an explicit class specification, or with an object variable, even if that object is <var>Null</var>: | ||
object, with an explicit class | <p class="code">%uniNal = new | ||
even if that object is | |||
< | %uniNal = %(unicodeNamedArraylist of object internationalShipment):new | ||
%uniNal = %uniNal:new | |||
</p> | |||
</ | '''Note:''' | ||
: | As shown above, when explicitly indicating the | ||
class, both the collection and the item datatype must be | |||
class, both the collection and item | |||
specified just as they are on the collection variable's declaration: | specified just as they are on the collection variable's declaration: | ||
< | <p class="code">%unirayl is unicodeNamedArraylist of object customer | ||
%unirayl = %(unicodeNamedArraylist of object customer):new | |||
</p> | |||
</ | |||
</ul> | </ul> |
Latest revision as of 19:28, 6 August 2012
Create a new UnicodeNamedArraylist object (UnicodeNamedArraylist class)
This method returns a new instance of a UnicodeNamedArraylist object.
Syntax
%uniNal = [%(UnicodeNamedArraylist Of itemType):]New
Syntax Terms
%uniNal | A UnicodeNamedArraylist object variable that is set to a new UnicodeNamedArraylist object reference. |
---|---|
[%(UnicodeNamedArraylist Of itemType):] | The optional class name in parentheses denotes a Constructor. See "Usage notes," below, for more information about invoking a collection Constructor. |
Usage Notes
- As described in "Using New or other Constructors", New can be invoked with no object, with an explicit class specification, or with an object variable, even if that object is Null:
%uniNal = new %uniNal = %(unicodeNamedArraylist of object internationalShipment):new %uniNal = %uniNal:new
Note: As shown above, when explicitly indicating the class, both the collection and the item datatype must be specified just as they are on the collection variable's declaration:
%unirayl is unicodeNamedArraylist of object customer %unirayl = %(unicodeNamedArraylist of object customer):new