Copy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (AllowNullObject methods)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:NamedArraylist:Copy subtitle}}
{{Template:NamedArraylist:Copy subtitle}}


<var>Copy</var> makes a "shallow" copy of the <var>NamedArraylist</var> method object <var class="term">nal</var>.  If <var class="term">nal</var> contains objects, they are <b><i>not</i></b> copied.  If <var class="term">nal</var> is Null, a Null is returned.
<var>Copy</var> makes a "shallow" copy of the <var>NamedArraylist</var> method object <var class="term">nal</var>.  If <var class="term">nal</var> contains objects, they are <b><i>not</i></b> copied.  If <var class="term">nal</var> is <var>Null</var>, a <var>Null</var> is returned.


==Syntax==
==Syntax==
{{Template:NamedArraylist:Copy syntax}}
{{Template:NamedArraylist:Copy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%outNal</th>
<tr><th>%outNal</th>
<td>A <var>NamedArraylist</var> to contain the copy of <var class="term">nal</var>, the method <var>NamedArraylist</var>.</td></tr>
<td>A <var>NamedArraylist</var> to contain the copy of <var class="term">nal</var>, the method object <var>NamedArraylist</var>.</td></tr>
 
<tr><th>nal</th>
<tr><th>nal</th>
<td>A <var>NamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
<td>A <var>NamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
Line 14: Line 16:


==See also==
==See also==
<ul><li>For more information about copyability, see [[Copying objects|"Copying objects"]].</ul>
<ul>
<li>For more information about copyability, see [[Copying objects|"Copying objects"]].
</ul>
{{Template:NamedArraylist:Copy footer}}
{{Template:NamedArraylist:Copy footer}}

Latest revision as of 22:34, 8 August 2012

Copy the NamedArraylist (NamedArraylist class)


Copy makes a "shallow" copy of the NamedArraylist method object nal. If nal contains objects, they are not copied. If nal is Null, a Null is returned.

Syntax

%outNal = nal:Copy

Syntax terms

%outNal A NamedArraylist to contain the copy of nal, the method object NamedArraylist.
nal A NamedArraylist object, which may be Null.

See also