UserNumber (Daemon property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 8: Line 8:
{{Template:Daemon:UserNumber syntax}}
{{Template:Daemon:UserNumber syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt>%num  
<tr><th>%num</th>
<dd>A float variable to contain the returned user number.  
<td>A float variable to contain the returned user number. </td></tr>
<dt>%daem  
<tr><th>%daem</th>
<dd>A previously defined Daemon object.  
<td>A previously defined Daemon object.</td></tr>
</dl>
</table>


==See also==
==See also==

Revision as of 04:53, 7 February 2011

User number of the thread associated with this Daemon (Daemon class)


UserNumber is a member of the Daemon class

This method, 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

%num A float variable to contain the returned user number.
%daem A previously defined Daemon object.

See also

These methods return the user number of the creator of the daemon thread from which the methods are issued: