Page 1 of 1

Manipulating and searching arrays and lists

Posted: Fri Apr 24, 2015 8:47 am
by blueznl
I should download the latest version, but I'm very hurriedly working on some large project, so haven't had time to look into the latest feature set :oops:

Anyway, I've been fooling around with linked lists and arrays for heavy table / data use, and end up coding some functions myself. I think these would be nice to have in the command set...

- DeleteArrayElement - allows deletion of one element in an array. If the array is multi dimensional, it deletes a whole 'row' (shifting up all remaining data in the array).

- SearchArray - looks for a specific entry in the specified array, returns the position in the array, similar to SortLIst and SortStructuredList, something like: SearchArray( <arrayname> , <offsetoff>, <typeoff>, <whattofind> )

- SearchList - like the one above

- SortStructuredArray - it would be great if I could sort on more than one field, would save a lot of coding

- SortStructuredList - same thing