- This wiki is out of date, use the continuation of this wiki instead
ProcessTypeID
From FenixWiki
(Difference between revisions)
Revision as of 23:55, 25 March 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 11:04, 18 April 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 1: | Line 1: | ||
== Definition == | == Definition == | ||
- | A ProcessTypeID is a unique identification code, for a [[ | + | A ProcessTypeID is a unique identification code, for a [[processType]]. A ProcessTypeID is smaller than 65536 (2^16). |
== Example == | == Example == | ||
Line 10: | Line 10: | ||
End | End | ||
</pre> | </pre> | ||
- | [[signal]]() signals all [[process|processes]] of [[ | + | [[signal]]() signals all [[process|processes]] of [[processType]] SpaceShip the [[signals|signal]] to [[die]]. This is done by using the [[constant]] [[s_kill]] as the signal. |
Revision as of 11:04, 18 April 2007
Definition
A ProcessTypeID is a unique identification code, for a processType. A ProcessTypeID is smaller than 65536 (2^16).
Example
Kill all SpaceShip()s (see process):
Begin signal(type SpaceShip,s_kill); End
signal() signals all processes of processType SpaceShip the signal to die. This is done by using the constant s_kill as the signal.