I have doubled the number of commands in the array dll ... by allowing all commands to also accept an array address as an argument in place of an array name.
For example, these pieces of code are equivalent
`before
sort array MyArray()
`after
ArrayAddress = get array ptr( MyArray() )
sort array ArrayAddress
What's the gain? Now you can pass array identities into functions:
DoStuff( get array ptr( MyArray() ) )
function DoStuff(Array as dword)
swap array item Array, 0, 1
endfunction
This allows you to write functions that do not have hard-coded array names inside them. I have a great example of what you can do that I'll post here tomorrow.