copy/modify/transfer /sullperm
// [[mlist]] is a long list that stores multiple lists. It uses the list "mpoint" as pointers.
// [[mlplist]] contains [[mlist]] with some functions that make it easier to use: it uses the list "mlp" to point at "mpoint" or to point at empty list [];
//uses only 3 functions
void mlpadd(list) "add entry"
list mlpget(int) "read and keep"
list mlprem(int) "read,remove and switch mode of adding next entry to re-insert"
//list a;
//integer int;
//mlpadd(a); //stores a sub-list within [[mlist]]
//list a = mlpget(int); //returns the int'th sub-list of [[mlist]]
//list a = mlprem(int); //returns the int'th sub-list of [[mlist]], removes the int'th entry from mlist, and switched "mode" of "mlpadd(list)":
//a=a+["edit"]; //etit a read entry.
//mlpadd(a); //[in switched mode] re-inserts an edited list into position "int" (instead of adding it as a new sub-list-entry)
//mlpadd(a); //stores a sub-list within [[mlist]] [back to default mode] adds sub-list a to [[mlist]]
- stores as many lists of any length in a single list
- uses 1 or 2 lists as pointers (1 for unsorted, 2 for static pointers)
- does not use json functions, making it faster
- only uses 3 functions, fast small and flexible.
- compact: 54,880 k free memory