Access/VBA Library

Pop Method

Pops the element off the end of array.

Syntax

array_.Pop()
Parameters
Name Type Description
array_   The name of an object of type array_
Example
  Dim x As New Array_
  Dim var

  var = x.FromArray(Array(1, 2, 3)).Pop()
  ' Result:
  'Array (
  ' [1] = > 1
  ' [2] = > 2
  ')
  'var contains 3