4D v16.3

DELAY PROCESS

Home

 
4D v16.3
DELAY PROCESS

DELAY PROCESS 


 

DELAY PROCESS ( process ; duration ) 
Parameter Type   Description
process  Longint in Process number
duration  Real in Duration expressed in ticks

DELAY PROCESS delays the execution of a process for a number of ticks (1 tick = 1/60th of a second). During this period, process does not take any processing time. Even though the execution of a process may be delayed, it is still in memory.

You can delay a process for less than one tick. For example, if you pass 0.5 in duration, the process will be delayed for a 1/2 tick, i.e. 1/120th of a second.

If the process is already delayed, this command delays it again. The duration parameter is not added to the time remaining, but replaces it. Therefore pass zero (0) for duration if you no longer want to delay a process.

If the process does not exist, the command does nothing.

Note: You cannot use this command to assign a stored procedure on the server machine from a client machine (process<0).

See example in Record Locking.

See example for the command Process number.



See also 

HIDE PROCESS
PAUSE PROCESS

 
PROPERTIES 

Product: 4D
Theme: Processes
Number: 323

This command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6
Modified: 4D v14 R3

 
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)