Skip to main content

dequeue

Short summary​

This method returns the first object in the list and removes it from the list.

Example: On a list: (Head -->) A B C, list.dequeue will return A. Example 2: If you call prepend(x), a dequeue right after will return x.

Return: The first object of the list or NULL if list is empty

Parameters​

none

Code​

Declaration​

METHOD dequeue :CNM_AbstractObject.IObject
VAR_INPUT
END_VAR