Onetastic Macro Documentation >
>
>
Array_PopBack Array_PopBack
Removes and returns the last element in the array. To use an array as a stack, use this function along with Array_PushBack.
Syntax
Mixed Array_PopBack(byref Array array)
Parameters
- Array array
- Array to remove and return the the last element from.
Examples
$array = Array(6, 4, 8, 10, 12)
$lastElement = Array_PopBack($array)
$previousElement = Array_PopBack($array)
|