Array Statements

Added January 2022

Statement

Description

.CLEAR

Remove all elements of the array.

.REDIMX

Re-dimension an array originally created with DIMX.

.POPFRONT

Remove first element from list, e.g. .POPFRONT $M().

.POPBACK

Remove last element from list, e.g. .POPBACK $M().

.SPLICE

Splice elements from one list to other.

.SORT

Sort elements in list by value, e.g. .SORT $M() .SORT $kids() sorts according to the collating sequence, just as the ordered map does.

Note: elements above except clear & redimx are copied from MLIST. Do it manually.

 

See Also

•   Multi-level List MLIST