Implementation
D

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
s = append(s, x)
classes
var
  L: TList;
  Item: Pointer;
...
  L.Add(Item);
...
$s[]=$x;
s.push(x)
s.append(x)
s.push(x)