Topic: APLX Help : System Classes : Properties : taskid
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'taskid' property


Read-only, Integer scalar

Valid for: System, APL (child task) object

Every task has a unique identifier. You can read the task identifier of a child task using the read-only taskid property. It is a scalar integer, and can be used in event handling to identify the task:

      ChildTask.taskid
53429272

The taskid property will be zero if the task is not running.

A task can read its own task identifier using the taskid property of its System object.


Topic: APLX Help : System Classes : Properties : taskid
[ Previous | Next | Contents | Index | APL Home ]