WorkQue_AutoRemove Statement

Sets the auto delete function to the specified work queue.

Syntax
WorkQue_AutoRemove WorkQueNum ,{True | False}​

Parameters

WorkQueNum
Specifies the work queue number as an integer (1-16).
True | False
True: Enables the auto delete function. False: Disables the auto delete function.

Description
Sets the auto delete function to the work queue. When the auto delete is enabled, the point data and the user data are automatically deleted from the work queue when the point data is obtained from the work queue by WorkQue_Get.

When the auto delete is disabled, the point data and the user data are not deleted. To delete them, use WorkQue_Remove.

The user data obtained by WorkQue_UserData are not deleted automatically.

Auto delete function can be set to each work queue.

See Also
WorkQue_AutoRemove Function, WorkQue_Get

WorkQue_AutoRemove Statement Example

WorkQue_AutoRemove 1, True