DeepDiscard (ScreenField subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Template:ScreenField:DeepDiscard subtitle}}
{{Template:ScreenField:DeepDiscard subtitle}}


Although a generic <var>[[Object variables#Discarding explicitly|Discard]]</var> of an <var>XmlNode</var> is not allowed, you can use the <var>DeepDiscard</var> method to explicitly discard an <var>XmlNode</var> object.
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 an <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>
<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>



Revision as of 20:14, 23 August 2011

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 an 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