pop
Short summary
This method returns the last object in the list and removes it from the list.
Example: On a list: (Head -->) A B C, list.pop will return C. Example 2: If you call append(x), a pop right after will return x.
Return: The last object of the list or NULL if list is empty
- Return type: CNM_AbstractObject.IObject
Parameters
none
Code
Declaration
METHOD pop :CNM_AbstractObject.IObject
VAR_INPUT
END_VAR