Copy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
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
This function
makes a &ldquo;shallow&rdquo; copy of the NamedArraylist method object ''%namrayl''.
makes a "shallow" copy of the NamedArraylist method object ''%namrayl''.
If ''%namrayl'' contains objects, they are '''not''' copied.
If ''%namrayl'' contains objects, they are '''not''' copied.
If ''%namrayl'' is Null, a Null is returned.
If ''%namrayl'' is Null, a Null is returned.
Line 13: Line 8:
For more information about copyability, see [[Copying objects]].
For more information about copyability, see [[Copying objects]].
==Syntax==
==Syntax==
<p class="code">%cop = %namrayl:Copy
{{Template:NamedArraylist:Copy syntax}}
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 22: Line 16:
<td>A NamedArraylist object.</td></tr>
<td>A NamedArraylist object.</td></tr>
</table>
</table>
==See also==
{{Template:NamedArraylist:Copy footer}}

Revision as of 04:19, 7 February 2011

Copy the NamedArraylist (NamedArraylist class)


This function 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

%outNal = nal:Copy

Syntax terms

%cop A NamedArraylist to contain the copy of %namrayl, the method NamedArraylist.
%namrayl A NamedArraylist object.

See also