UserNumber (Daemon property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (match syntax table to syntax template, tags and edits) |
||
Line 1: | Line 1: | ||
{{Template:Daemon:UserNumber subtitle}} | {{Template:Daemon:UserNumber subtitle}} | ||
<var>UserNumber</var>, primarily useful for debugging, returns the user number of the thread associated with the <var>[[Daemon class|Daemon]]</var> object. The method takes no arguments and returns a numeric value. | |||
UserNumber | |||
==Syntax== | ==Syntax== | ||
Line 9: | Line 6: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%number</th> | ||
<td>A float variable to contain the returned user number. </td></tr> | <td>A float variable to contain the returned user number.</td></tr> | ||
<tr><th>% | <tr><th>%daemon</th> | ||
<td>A previously defined Daemon object.</td></tr> | <td>A previously defined <var>[[Daemon class|Daemon]]</var> object.</td></tr> | ||
</table> | </table> | ||
==See also== | ==See also== | ||
<ul> | <ul> | ||
<li>[[MasterNumber (Daemon property)]] | <li><var>[[MasterNumber (Daemon property)|MasterNumber]]</var> returns the user number of the master thread, the thread that ultimately created and controls the thread from which this method is being invoked. | ||
<li>[[ParentNumber (Daemon property)]] | <li><var>[[ParentNumber (Daemon property)|ParentNumber]]</var> returns the user number of the parent thread, the thread that created the current thread from which this method is being invoked. | ||
</ul> | </ul> | ||
{{Template:Daemon:UserNumber footer}} |
Revision as of 03:07, 14 March 2011
User number of the thread associated with this Daemon (Daemon class)
UserNumber, primarily useful for debugging, returns the user number of the thread associated with the Daemon object. The method takes no arguments and returns a numeric value.
Syntax
%number = daemon:UserNumber
Syntax terms
%number | A float variable to contain the returned user number. |
---|---|
%daemon | A previously defined Daemon object. |
See also
- MasterNumber returns the user number of the master thread, the thread that ultimately created and controls the thread from which this method is being invoked.
- ParentNumber returns the user number of the parent thread, the thread that created the current thread from which this method is being invoked.