Skip to main content

pop

Short summary​

This property returns the last object in the list and removes it from the list. Can be seen as opposite of append. 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. May return a null pointer if list is empty

Parameters​

none

Code​

Declaration​

METHOD ABSTRACT pop :CNM_AbstractObject.IObject