Copy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:NamedArraylist:Copy subtitle}}
{{Template:NamedArraylist:Copy subtitle}}


This function
<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.
makes a "shallow" copy of the NamedArraylist method object ''%namrayl''.
If ''%namrayl'' contains objects, they are '''not''' copied.
If ''%namrayl'' is Null, a Null is returned.


For more information about copyability, see [[Copying objects]].
==Syntax==
==Syntax==
{{Template:NamedArraylist:Copy syntax}}
{{Template:NamedArraylist:Copy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%cop</th>
<tr><th>%outNal</th>
<td>A NamedArraylist to contain the copy of ''%namrayl'', the method NamedArraylist. </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>%namrayl</th>
 
<td>A NamedArraylist object.</td></tr>
<tr><th>nal</th>
<td>A <var>NamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
</table>
</table>
==See also==
==See also==
<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