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}}
==Syntax==
==Syntax==
{{Template:Daemon:AmDaemon syntax}}
{{Template:Daemon:AmDaemon syntax}}

Revision as of 20:24, 1 March 2011

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

Syntax

%boolean = %(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.

See also