push
Examples:
push-ARRAY,LIST
Description:
Treats ARRAY as a stack, and pushes the values of LIST
onto the end of ARRAY. The length of ARRAY increases by the length of
LIST. Has the same effect as
for $value (LIST) {
$ARRAY[++$#ARRAY] = $value;
}
but is more efficient. Returns the new number of elements in the array. No comments have been provided yet. Please feel free to add one.
Function examples and description are legal property of their respective authors. Comments belong to their posters.
|