DeepCopy (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
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 Stringlist, creating a new Stringlist.  
Line 7: Line 7:
DeepCopy is a member of the [[Stringlist class]].
DeepCopy is a member of the [[Stringlist class]].


==DeepCopy Syntax==
==Syntax==
<pre>
{{Template:Stringlist:DeepCopy syntax}}
%outlist = %sl:DeepCopy
===Syntax terms===
</pre>
 
===Syntax Terms===
<dl>
<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.  
<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>
</dl>


==Usage Notes==
==Usage notes==
<ul>
<ul>
<li>All errors in DeepCopy result in request cancellation.
<li>All errors in DeepCopy result in request cancellation.

Revision as of 17:43, 31 December 2010

Copy Stringlist (Stringlist class)


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

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.

DeepCopy is a member of the Stringlist class.

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.

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.