Copy (Screen function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (AllowNullObject methods)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:Screen:Copy subtitle}}
{{Template:Screen:Copy subtitle}}
The <var>Copy</var> method returns a <var>Screen</var> object that is a copy of the method object.


This method returns a Screen object that is a copy of the method object. For more information about copyability, see &amp;amp;#x201C;[[Copying Objects]]&amp;amp;#x201D;
==Syntax==
==Syntax==
{{Template:Screen:Copy syntax}}
{{Template:Screen:Copy syntax}}
===Syntax terms===
===Syntax terms===
<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>%screen</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==
The method object (%screen) may be null. The output of a copy of a null object is a null 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>
 
==See also==
==See also==
<ul><li>For further information about copying objects, see [[Copying objects|"Copying objects"]].</ul>
{{Template:Screen:Copy footer}}
{{Template:Screen:Copy footer}}

Latest revision as of 22:32, 16 November 2012

Return a copy of a screen object (Screen class)

The Copy method returns a Screen object that is a copy of the method object.

Syntax

%outScreen = screen:Copy

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