DeepCopy (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
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 [[Copying objects|deep copy]] of the method object. <var>DeepCopy</var> is identical to the <var>[[Copy_(Screen_function)|Copy]]</var> method.


This method returns a Screen object that is a deep copy of the method object. DeepCopy is identical to the Copy method (&#x201C;Copy function&#x201D;, above). For more information about copyability, see &#x201C;[[Copying Objects]]&#x201D;.
==Syntax==
{{Template:Screen:DeepCopy syntax}}


  %outscreen = %screen:DeepCopy
===Syntax terms===
<table class="syntaxTable">
<tr><th>%outScreen</th>
<td>A declared <var>Screen</var> object. </td></tr>


; <font size='3'>DeepCopy syntax</font>
<tr><th>screen</th>
<td>A reference to an instance of a <var>Screen</var> object, which may be <var>Null</var>.</td></tr>
</table>


; %outscreen
==Usage notes==
: A declared Screen object.
<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>


; %screen
: A reference to an instance of a Screen object.
; <font size='3'>Usage Notes</font>
The method object (%screen) may be null. The output of a copy of a null object is a null object.
==See also==
==See also==
{{Template:Screen:DeepCopy footer}}
{{Template:Screen:DeepCopy footer}}

Latest revision as of 22:40, 16 November 2012

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