Quote:
Originally Posted by jimaway
without dynamic array and without looping i think the only way is to have a int that you increace every time you fill a cell of an array
edit: i figured something out 
if you dont use 0-s as cells values you could use
Code:
new index = (array[charsmax(array)]) ? charsmax(array) : strlen(array)
|
either way....wouldn't that code return strlen(array)? because charsmax would give that anyway.....and my array is going to be filled with scalars (enums specifically), not chars
I was wondering if there's a native already for it. if not....i'll fucking make one!
__________________