AmDaemon (Daemon property): Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| Line 5: | Line 5: | ||
<table class="syntaxTable">  | <table class="syntaxTable">  | ||
<tr><th>%boolean</th>  | <tr><th>%boolean</th>  | ||
<td>A declared enumeration object of type <var>[[Boolean]]</var> to contain the returned value of <var>AmDaemon</var>. </td></tr>  | <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>  | ||
<tr><th><var>%(Daemon)</var></th>  | <tr><th><var>%(Daemon)</var></th>  | ||
<td>The class name in parentheses denotes a shared method. <var>AmDaemon</var> can also be invoked via a <var>Daemon</var> object variable, which may be null.</td></tr></table>  | <td>The class name in parentheses denotes a shared method. <var>AmDaemon</var> can also be invoked via a <var>Daemon</var> object variable, which may be null.</td></tr></table>  | ||
Revision as of 20:32, 24 May 2011
Is the current thread controlled by a Daemon? (Daemon class)
Syntax
%boolean = %(Daemon):AmDaemon
Syntax terms
| %boolean | A declared enumeration object of type Boolean to contain the returned value of AmDaemon. | 
|---|---|
| %(Daemon) | The class name in parentheses denotes a shared method. AmDaemon can also be invoked via a Daemon object variable, which may be null. | 
AmDaemon returns True if issued on a daemon thread; otherwise it returns False.