I've tried using:
if(null in list)
return
where "list" is an empty list with a pre-determined .len value, but the code just keeps skipping past the if-statement, as if it's returning false.
Any insight would be appreciated.
ID:155244
Aug 12 2011, 10:43 am
|
|
Is it possible to take a list with a defined .len value, and see if all of its indexes are filled with a value other than null?
I've tried using: if(null in list) where "list" is an empty list with a pre-determined .len value, but the code just keeps skipping past the if-statement, as if it's returning false. Any insight would be appreciated. |
Aug 12 2011, 6:23 pm
|
|
You could try looping however many times necessary to check all entries, and if one of the list indexes is null, return.
|