DeepCopy (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (camelCase)
m (AllowNullObject methods)
Line 12: Line 12:
<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>
<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>
<tr><th>sl</th>
<td>A <var>Stringlist</var> object.</td></tr>
<td>A <var>Stringlist</var> object, which may be <var>Null</var>.</td></tr>
</table>
</table>



Revision as of 23:49, 18 March 2011

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