Copy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 15: Line 15:
<p class="code">%cop = %namrayl:Copy
<p class="code">%cop = %namrayl:Copy
</p>
</p>
===Syntax Terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%cop</i>
<tr><th><i>%cop</i></th>
<dd>A NamedArraylist to contain the copy of ''%namrayl'', the
<td>A NamedArraylist to contain the copy of ''%namrayl'', the method NamedArraylist. </td></tr>
method NamedArraylist.
<tr><th><i>%namrayl</i></th>
<dt><i>%namrayl</i>
<td>A NamedArraylist object.</td></tr>
<dd>A NamedArraylist object.
</table>
 
</dl>

Revision as of 23:08, 31 January 2011

<section begin=dpl_desc/>Copy the NamedArraylist<section end=dpl_desc/>

Copy is a member of the 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

%cop = %namrayl:Copy

Syntax terms

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