4D v16.3

Current process name

Home

 
4D v16.3
Current process name

Current process name 


 

Current process name -> Function result 
Parameter Type   Description
Function result  Text in Name of current process

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 

Product: 4D
Theme: Processes
Number: 1392

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v15 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)