Copy (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to diagram , lot's of tags)
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 Null, a Null 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 <var>NamedArraylist</var>.</td></tr>
<tr><th>%namrayl</th>
<tr><th>nal</th>
<td>A NamedArraylist object.</td></tr>
<td>A <var>NamedArraylist</var> object.</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}}

Revision as of 07:30, 2 March 2011

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 NamedArraylist.
nal A NamedArraylist object.

See also