LinkedList.popBack

Deletes the last entry from the list. If the list is empty, an error will occur.

Arguments

None

Return values

None

Complexity

Constant

Example

"sl/linkedList" useFile a: (1 2 0 5 "Hello" 0.3) makeList; a.popBack a [print "," print TRUE] enum
Output:
1,2,0,5,Hello,