DeepCopy (ScreenField function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created page with "This method returns a ScreenField object that is a deep copy of the method object. Since a ScreenField cannot exist without its underlying Screen, however, a ScreenField is deep ...")
 
mNo edit summary
Line 1: Line 1:
This method returns a ScreenField object that is a deep copy of the method object. Since a ScreenField cannot exist without its underlying Screen, however, a ScreenField is deep copyable only, and no Copy method exists for a ScreenField. For more information about copyability, see “[[Copying Objects]]”.
This method returns a ScreenField object that is a deep copy of the method object. Since a ScreenField cannot exist without its underlying Screen, however, a ScreenField is deep copyable only, and no Copy method exists for a ScreenField. For more information about copyability, see “[[Copying Objects]]”.
==Syntax==
===Syntax terms===
<dl>
<dt>%outsfield
<dd>A declared ScreenField object.
<dt>%sfield
<dd>A reference to an instance of a ScreenField object.
</dl>


  %outsfield = %sfield:DeepCopy
==Usage Notes==
 
; DeepCopy syntax
 
; %outsfield
: A declared ScreenField object.
 
; %sfield
: A reference to an instance of a ScreenField object.
 
;Usage Notes


The method object (%screen) may be null. The output of a copy of a null object is a null object.
The method object (%screen) may be null. The output of a copy of a null object is a null object.

Revision as of 20:15, 18 March 2011

This method returns a ScreenField object that is a deep copy of the method object. Since a ScreenField cannot exist without its underlying Screen, however, a ScreenField is deep copyable only, and no Copy method exists for a ScreenField. For more information about copyability, see “Copying Objects”.

Syntax

Syntax terms

%outsfield
A declared ScreenField object.
%sfield
A reference to an instance of a ScreenField object.

Usage Notes

The method object (%screen) may be null. The output of a copy of a null object is a null object.