DeepCopy (ScreenField function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (AllowNullObject methods) |
||
Line 9: | Line 9: | ||
<td>A declared ScreenField object. </td></tr> | <td>A declared ScreenField object. </td></tr> | ||
<tr><th>%sfield</th> | <tr><th>%sfield</th> | ||
<td>A reference to an instance of a ScreenField object.</td></tr> | <td>A reference to an instance of a ScreenField object, which may be <var>Null</var>.</td></tr> | ||
</table> | </table> | ||
Revision as of 23:51, 18 March 2011
Return a deep copy of a screenfield object (ScreenField class)
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
%outSfield = sfield:DeepCopy
Syntax terms
%outsfield | A declared ScreenField object. |
---|---|
%sfield | A reference to an instance of a ScreenField 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.