Unit 'EXEC' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

RemTail

Remove the tail node from a list

Declaration

Source position: exec.pas line 1275

function RemTail(

  list: pList

):pNode;

Arguments

list

  

A pointer to a list

Function result

The node removed or nil when empty list

Description

Remove the last node from a list, and return a pointer to it. If the list is empty, return nil.

See also

AddTail

  

Append node to tail of a list

AddHead

  

Insert a node at the head of a list

Enqueue

  

Insert or append node to a system list

ExecInsert

  

Insert a node into a list

RemHead

  

Remove the head node from a list

Remove

  

Remove a node from a list


Documentation generated on: 2021-07-30