04-05-2019 01:21 PM
I have a numeric array (i32) that gets data inserted into it as the program is running. I am looking for a way to determine if a specific index in that numeric array has been populated yet. In other words, I need to determine if an index in a numeric array is empty. Index array is close to what I need, but if the indexed entry in the array is empty, it will return 0 (the default value for this numeric array), which is a potential valid data entry for my numeric array, and therefore is not sufficient to check if the indexed result was originally empty or 0.
Any help on this is appreciated.
Solved! Go to Solution.
04-05-2019 01:33 PM
Compare the index with the array size.