DeepCopy (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 10: Line 10:
{{Template:Stringlist:DeepCopy syntax}}
{{Template:Stringlist:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt>%outlist<dd>This is a new Stringlist that is a deep copy of '''%sl''', the method Stringlist.<dt>%sl<dd>A Stringlist object.  
<tr><th>%outlist</th>
</dl>
<td>This is a new Stringlist that is a deep copy of '''%sl''', the method Stringlist.</td></tr>
<tr><th>sl</th>
<td>A Stringlist object.</td></tr>
</table>


==Usage notes==
==Usage notes==

Revision as of 21:03, 16 January 2011

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.