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 a <var>ScreenField</var> is not allowed, you can use the <var>DeepDiscard</var> method to explicitly discard an <var>ScreenField</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 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>
<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>


==Syntax==
==Syntax==
{{Template:ScreenField:DeepDiscard syntax}}
{{Template:ScreenField:DeepDiscard syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">

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