AmDaemon (Daemon property): Difference between revisions

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


<var>AmDaemon</var> returns <code>True</code> if issued on a daemon thread; otherwise it returns <code>False</code>.
<var>AmDaemon</var> returns a <var>[[Boolean enumeration]]</var> to indicate whether <var>AmDaemon</var> was issued on a daemon thread.


==Syntax==
==Syntax==
Line 9: Line 9:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%boolean</th>
<tr><th>%boolean</th>
<td>A declared enumeration object of type <var>[[Enumerations#Using Boolean enumerations|Boolean]]</var> to contain the returned value of <var>AmDaemon</var>. </td></tr>
<td>A declared enumeration object of type <var>Boolean</var> to contain the returned value of <var>AmDaemon</var>. <var>AmDaemon</var> returns <code>True</code> if issued on a daemon thread; otherwise it returns <code>False</code>.
</td></tr>
<tr><th><var>%(Daemon)</var></th>
<tr><th><var>%(Daemon)</var></th>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method. <var>AmDaemon</var> can also be invoked via a <var>Daemon</var> object variable, which may be <var>Null</var>.</td></tr></table>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method. <var>AmDaemon</var> can also be invoked via a <var>Daemon</var> object variable, which may be <var>Null</var>.</td></tr></table>

Revision as of 01:00, 15 May 2012

Is the current thread controlled by a Daemon? (Daemon class)


AmDaemon returns a Boolean enumeration to indicate whether AmDaemon was issued on a daemon thread.

Syntax

%boolean = %(Daemon):AmDaemon

Syntax terms

%boolean A declared enumeration object of type Boolean to contain the returned value of AmDaemon. AmDaemon returns True if issued on a daemon thread; otherwise it returns False.
%(Daemon) The class name in parentheses denotes a shared method. AmDaemon can also be invoked via a Daemon object variable, which may be Null.

See also