Back again...
It seems we can't pass a dynamic array to a function with lite-c
The script I posted above passes a pointer to an array to the function instead of the whole array:( There goes my plan of writing a collection of array manipulation functions to share.
I've been reading about how to create linked-lists in C, as JCL suggested, so I just need to find a tutorial on using and manipulating those. The idea is to try and make a set of tools to simplify the creation/manipulation/deletion of LL's, so that I can concentrate on the main goal, which is to create solid trading & management systems, and hopefully, make it easier for the next n00b
Anyroad, I'm off to google to see what I can learn