DeepCopy (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="font-size:120%"><b>Deep Copy Stringlist</b></span>
{{Template:Stringlist:DeepCopy subtitle}}


This method copies an entire Stringlist, creating a new Stringlist.  
This method copies an entire <var>Stringlist</var>, creating a new <var>Stringlist</var>.


DeepCopy is identical to the [[Copy (Stringlist function)]]. For more information about deep copyability, see [[Copying objects]]. The DeepCopy method accepts no argument and returns a Stringlist object.
<var>DeepCopy</var> is identical to the <var>[[Copy (Stringlist function)|Copy]]</var>. For more information about deep copyability, see [[Copying objects|"Copying objects"]]. The <var>DeepCopy</var> method accepts no argument and returns a <var>Stringlist</var> object.


DeepCopy is a member of the [[Stringlist class]].
==Syntax==
{{Template:Stringlist:DeepCopy syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%outList</th>
<td>This is a new <var>Stringlist</var> that is a deep copy of <var class="term">sl</var>, the method <var>Stringlist</var>.</td></tr>
<tr><th>sl</th>
<td>A <var>Stringlist</var> object, which may be <var>Null</var>.</td></tr>
</table>


==DeepCopy Syntax==
==Usage notes==
<pre>
%outlist = %sl:DeepCopy
</pre>
 
===Syntax Terms===
<dl>
<dt>%outlist<dd>This is a new Stringlist that is a deep copy of '''%sl''', the method Stringlist.<dt>%sl<dd>A Stringlist object.
</dl>
 
==Usage Notes==
<ul>
<ul>
<li>All errors in DeepCopy result in request cancellation.
<li>All errors in <var>DeepCopy</var> result in request cancellation.
<li>The method object ('''%sl''') may be null. The output of a copy of a null object is a null object.
<li>The method object (<var class="term">sl</var>) may be null. The output of a copy of a null object is a null object.
</ul>
</ul>


[[Category:Stringlist methods|DeepCopy function]]
==See also==
{{Template:Stringlist:DeepCopy footer}}

Latest revision as of 15:23, 31 October 2012

Copy Stringlist (Stringlist class)


This method copies an entire Stringlist, creating a new Stringlist.

DeepCopy is identical to the Copy. For more information about deep copyability, see "Copying objects". The DeepCopy method accepts no argument and returns a Stringlist object.

Syntax

%outList = sl:DeepCopy

Syntax terms

%outList This is a new Stringlist that is a deep copy of sl, the method Stringlist.
sl A Stringlist object, which may be Null.

Usage notes

  • All errors in DeepCopy result in request cancellation.
  • The method object (sl) may be null. The output of a copy of a null object is a null object.

See also