Hello,

obviously there is no adequate solution for this in Lite-C.
In C-Script it was possible to get an arrays length with the length property (was not documented though), but this doesn't work in Lite-C anymore.

As a workaround you could use the first array index to store its length or you could use the last index to store some kind of 'terminator'.
However, it's not exactly brilliant...

You could also implement your own array structures. By making them dynamic you could at least kill two birds with one stone.