Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Remove - method of object PmSequencer

Description:
It removes waiting items.
Syntax:
Remove(CheckType As Integer, [CheckVal As Variant]) As Integer
Calling:
It removes all items from the queue that have the value Val1 = "ID1"
oSequencer.Remove 1, "ID1"
Parameters:
CheckType(Integer) Defines what waiting items have to be removed
0 - remove all items (in this case the CheckVal parameter has no meaning)
1 (2,3) - remove items that meet: Val1 (2,3) = CheckVal
10 - remove only the first item from the queue (in this case the CheckVal parameter has no meaning)
11 (12,13) - remove only the first item from the queue that meets: Val1 (2,3) = CheckVal
CheckVal[optional] (Variant) compared value, see the CheckType parameter
Return Values:
Returns the number of removed items
Note:
The method removes the selected items from the waiting items queue. The removal means that the item is deleted without calling the onStep method.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice