AmDaemon (Daemon property)

From m204wiki
Revision as of 20:54, 24 November 2010 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Checks whether the thread is a daemon.

AmDaemon is a member of the Daemon class

This shared method confirms whether the current thread is controlled by a Daemon object. The method takes no arguments and returns a boolean enumeration.

AmDaemon Syntax

%bool = %(Daemon):AmDaemon

Syntax Terms

%bool
A declared enumeration object of type Boolean to contain the returned value of AmDaemon.
%(Daemon)
The class name in parentheses denotes a shared method. Specifying %(Daemon): is not the only way to invoke the method (see :hdref refid=daemeth.).

AmDaemon returns True if issued on a daemon thread; otherwise it returns False.