- #1
nkk2008
- 33
- 0
I have an array of doubles that is too large (i.e. it is of length 10, but only indices 0 to 6 are filled).
I want to trim it, and am having problems with the line
It says that "the argument type == is undefined for types double, null". So...what do I do? How do I check if there is nothing filling in the index at i of the array?
Thanks,
Nkk
I want to trim it, and am having problems with the line
Code:
for loop{
if(array[i] == null{//THIS LINE
action
}
}
It says that "the argument type == is undefined for types double, null". So...what do I do? How do I check if there is nothing filling in the index at i of the array?
Thanks,
Nkk