DeepDiscard (ScreenField subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:ScreenField:DeepDiscard subtitle}}
{{Template:ScreenField:DeepDiscard subtitle}}
Although a generic <var>[[Object variables#Discarding explicitly|Discard]]</var> of a <var>ScreenField</var> is not allowed, you can use the <var>DeepDiscard</var> method to explicitly discard a <var>ScreenField</var> object.
<p>
'''Note:''' <var>DeepDiscard</var> explicitly discards the method object as well as the <var>[[Screen classes|Screen]]</var> object with which it is associated.</p>


This page is [[under construction]]
==Syntax==
==Syntax==
{{Template:ScreenField:DeepDiscard syntax}}
{{Template:ScreenField:DeepDiscard syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 9: Line 12:
<td>A <var>ScreenField</var> object, which may be <var>Null</var>.</td></tr>
<td>A <var>ScreenField</var> object, which may be <var>Null</var>.</td></tr>
</table>
</table>
==Usage notes==
 
<ul>
<li>Like the generic <var>[[Object variables#Discarding explicitly|Discard]]</var> method, <var>DeepDiscard</var> explicitly discards the method object. But, unlike
<var>Discard</var>, it also explicitly discards all objects that are referenced by the object being discarded.
</ul>
==See also==
==See also==
{{Template:ScreenField:DeepDiscard footer}}
{{Template:ScreenField:DeepDiscard footer}}

Latest revision as of 18:00, 20 November 2012

Do deep discard of a ScreenField object (ScreenField class)

[Introduced in Sirius Mods 8.0]

Although a generic Discard of a ScreenField is not allowed, you can use the DeepDiscard method to explicitly discard a ScreenField object.

Note: DeepDiscard explicitly discards the method object as well as the Screen object with which it is associated.

Syntax

sfield:DeepDiscard

Syntax terms

sfield A ScreenField object, which may be Null.

See also