Copy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Copy the NamedArraylist<section end=dpl_desc/></b></span>
{{Template:NamedArraylist:Copy subtitle}}
[[Category:NamedArraylist methods|Copy function]]
<!--DPL?? Category:NamedArraylist methods|Copy function: Copy the NamedArraylist-->
<p>
Copy is a member of the [[NamedArraylist class]].
</p>


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 &ldquo;shallow&rdquo; 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==
<p class="code">%cop = %namrayl:Copy
{{Template:NamedArraylist:Copy syntax}}
</p>
===Syntax Terms===
<dl>
<dt><i>%cop</i>
<dd>A NamedArraylist to contain the copy of ''%namrayl'', the
method NamedArraylist.
<dt><i>%namrayl</i>
<dd>A NamedArraylist object.


</dl>
===Syntax terms===
<table class="syntaxTable">
<tr><th>%outNal</th>
<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>
<td>A <var>NamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
</table>
 
==See also==
<ul>
<li>For more information about copyability, see [[Copying objects|"Copying objects"]].
</ul>
{{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