Skip to main content
Version: Next

Current process name

Current process name : Text

ParameterTypeDescription
Function resultTextName of current process

Description

The Current process name command returns the name of the process within which this command is called.

This command is particularly useful in the context of worker processes (see the About workers section). It can be used to identify the worker process to call when writing generic code.

Example

You want to call a worker and pass the calling process name as parameter:

 CALL WORKER(1;"myMessage";Current process name;"Start:"+String(vMax))

See also

About workers
CALL WORKER
KILL WORKER

Properties

Command number1392
Thread safe