DeepCopy (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 3: Line 3:
This method copies an entire <var>Stringlist</var>, creating a new <var>Stringlist</var>.
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 <var>Stringlist</var> object.
<var>DeepCopy</var> is identical to the [[Copy (Stringlist function)]]. For more information about deep copyability, see [[Copying objects]]. The <var>DeepCopy</var> method accepts no argument and returns a <var>Stringlist</var> object.


==Syntax==
==Syntax==
Line 17: Line 17:
==Usage notes==
==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 ('''%sl''') may be null. The output of a copy of a null object is a null object.
</ul>
</ul>


[[Category:Stringlist methods|DeepCopy function]]
[[Category:Stringlist methods|DeepCopy function]]

Revision as of 16:12, 19 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.