DeepCopy (Screen function): Difference between revisions
Jump to navigation
Jump to search
m (AllowNullObject methods) |
m (match syntax table to syntax template; edits, tags and links) |
||
Line 1: | Line 1: | ||
{{Template:Screen:DeepCopy subtitle}} | {{Template:Screen:DeepCopy subtitle}} | ||
The <var>DeepCopy</var> method returns a <var>Screen</var> object that is a deep copy of the method object. <var>DeepCopy</var> is identical to the <var>[[Copy_(Screen_function)|Copy]]</var> method. | |||
==Syntax== | ==Syntax== | ||
{{Template:Screen:DeepCopy syntax}} | {{Template:Screen:DeepCopy syntax}} | ||
Line 7: | Line 7: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%outscreen</th> | <tr><th>%outscreen</th> | ||
<td>A declared Screen object. </td></tr> | <td>A declared <var>Screen</var> object. </td></tr> | ||
<tr><th> | <tr><th>screen</th> | ||
<td>A reference to an instance of a Screen object, which may be <var>Null</var>.</td></tr> | <td>A reference to an instance of a <var>Screen</var> object, which may be <var>Null</var>.</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul><li>The method object (<var class="term">screen</var>) may be <var>Null</var>. The output of a copy of a <var>Null</var> object is a <var>Null</var> object. | |||
</ul> | |||
==See also== | ==See also== | ||
<ul><li>For further information about copying objects, see [[Copying objects|"Copying objects"]]. | |||
</ul> | |||
{{Template:Screen:DeepCopy footer}} | {{Template:Screen:DeepCopy footer}} |
Revision as of 09:24, 25 June 2011
Return a deep copy of a screen object (Screen class)
The DeepCopy method returns a Screen object that is a deep copy of the method object. DeepCopy is identical to the Copy method.
Syntax
%outScreen = screen:DeepCopy
Syntax terms
%outscreen | A declared Screen object. |
---|---|
screen | A reference to an instance of a Screen object, which may be Null. |
Usage notes
- The method object (screen) may be Null. The output of a copy of a Null object is a Null object.
See also
- For further information about copying objects, see "Copying objects".