DeepCopy (Stringlist function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:Stringlist:DeepCopy subtitle}} | {{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. | 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 <var>Stringlist</var> object. | ||
==Syntax== | ==Syntax== | ||
Line 10: | Line 10: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%outlist</th> | <tr><th>%outlist</th> | ||
<td>This is a new Stringlist that is a deep copy of '''%sl''', the method Stringlist.</td></tr> | <td>This is a new <var>Stringlist</var> that is a deep copy of '''%sl''', the method <var>Stringlist</var>.</td></tr> | ||
<tr><th>sl</th> | <tr><th>sl</th> | ||
<td>A Stringlist object.</td></tr> | <td>A <var>Stringlist</var> object.</td></tr> | ||
</table> | </table> | ||
Revision as of 21:33, 18 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.
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.