DeepCopy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


This function
This function
makes a "deep copy" of the NamedArraylist method object, ''%namrayl''.
makes a "deep copy" of the <var>NamedArraylist</var> method object, <var class="term">nal</var>.
If ''%namrayl'' contains objects, they '''are''' copied.
If <var class="term">nal</var> contains objects, they '''are''' copied.
If ''%namrayl'' is Null, a Null is returned.
If <var class="term">nal</var> is <var>Null</var>, a <var>Null</var> is returned.
 
For more information about copyability, see [[Copying objects|"Copying objects"]].


For more information about copyability, see [[Copying objects]].
==Syntax==
==Syntax==
{{Template:NamedArraylist:DeepCopy syntax}}
{{Template:NamedArraylist:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 14: Line 16:
<td>An <var>NamedArraylist</var> to contain the deep copy of <var class="term">nal</var>. </td></tr>
<td>An <var>NamedArraylist</var> to contain the deep copy of <var class="term">nal</var>. </td></tr>
<tr><th>nal</th>
<tr><th>nal</th>
<td>An <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>
</table>
</table>
==See also==
==See also==
{{Template:NamedArraylist:DeepCopy footer}}
{{Template:NamedArraylist:DeepCopy footer}}

Revision as of 23:43, 22 February 2012

Deep Copy NamedArraylist (NamedArraylist class)


This function makes a "deep copy" of the NamedArraylist method object, nal. If nal contains objects, they are copied. If nal is Null, a Null is returned.

For more information about copyability, see "Copying objects".

Syntax

%outNal = nal:DeepCopy

Syntax terms

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

See also